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

« back to all changes in this revision

Viewing changes to state/apiserver/api_test.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:
123
123
        info.Tag = tag
124
124
        info.Password = fmt.Sprintf("%s password", tag)
125
125
        c.Logf("opening state; entity %q; password %q", info.Tag, info.Password)
126
 
        st, err := api.Open(info)
 
126
        st, err := api.Open(info, fastDialOpts)
127
127
        c.Assert(err, IsNil)
128
128
        c.Assert(st, NotNil)
129
129
        return st