~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to cmd/jujud/bootstrap_test.go

  • Committer: Roger Peppe
  • Date: 2013-06-25 09:50:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1352.
  • Revision ID: roger.peppe@canonical.com-20130625095052-o5tm56alo6xl7707
many: use checkers.Satisfies

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        "launchpad.net/juju-core/instance"
14
14
        "launchpad.net/juju-core/state"
15
15
        "launchpad.net/juju-core/testing"
 
16
        "launchpad.net/juju-core/testing/checkers"
16
17
)
17
18
 
18
19
// We don't want to use JujuConnSuite because it gives us
141
142
                st.Close()
142
143
        }
143
144
        if expectErr != nil {
144
 
                c.Assert(errors.IsUnauthorizedError(err), Equals, true)
 
145
                c.Assert(err, checkers.Satisfies, errors.IsUnauthorizedError)
145
146
        } else {
146
147
                c.Assert(err, IsNil)
147
148
        }