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

« back to all changes in this revision

Viewing changes to environs/jujutest/livetests.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:
16
16
        "launchpad.net/juju-core/juju"
17
17
        "launchpad.net/juju-core/juju/testing"
18
18
        "launchpad.net/juju-core/state"
 
19
        "launchpad.net/juju-core/state/api"
19
20
        "launchpad.net/juju-core/state/api/params"
20
21
        coretesting "launchpad.net/juju-core/testing"
21
22
        "launchpad.net/juju-core/utils"
332
333
        defer conn.Close()
333
334
 
334
335
        c.Logf("opening API connection")
335
 
        apiConn, err := juju.NewAPIConn(t.Env)
 
336
        apiConn, err := juju.NewAPIConn(t.Env, api.DefaultDialOpts())
336
337
        c.Assert(err, IsNil)
337
338
        defer conn.Close()
338
339