~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to environs/ec2/local_test.go

Merge prev pipe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        "launchpad.net/juju-core/environs/imagemetadata"
19
19
        "launchpad.net/juju-core/environs/jujutest"
20
20
        envtesting "launchpad.net/juju-core/environs/testing"
21
 
        "launchpad.net/juju-core/state"
 
21
        "launchpad.net/juju-core/instance"
22
22
        "launchpad.net/juju-core/testing"
23
23
        "launchpad.net/juju-core/utils"
24
24
        "regexp"
50
50
 
51
51
        id, err := p.InstanceId()
52
52
        c.Assert(err, IsNil)
53
 
        c.Assert(id, Equals, state.InstanceId("dummy.instance.id"))
 
53
        c.Assert(id, Equals, instance.Id("dummy.instance.id"))
54
54
}
55
55
 
56
56
func registerLocalTests() {