~rogpeppe/juju-core/315-api-dialopts

« back to all changes in this revision

Viewing changes to juju/testing/conn.go

  • Committer: Roger Peppe
  • Date: 2013-05-25 13:11:46 UTC
  • Revision ID: roger.peppe@canonical.com-20130525131146-knkj6367hnnmapq4
api: add DialOpts to Open

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
        s.Conn = conn
186
186
        s.State = conn.State
187
187
 
188
 
        apiConn, err := juju.NewAPIConn(environ)
 
188
        apiConn, err := juju.NewAPIConn(environ, api.DialOpts{})
189
189
        c.Assert(err, IsNil)
190
190
        s.APIConn = apiConn
191
191
        s.APIState = apiConn.State