~juju/pyjuju/go

« back to all changes in this revision

Viewing changes to environs/ec2/local_test.go

  • Committer: William Reade
  • Author(s): William Reade
  • Date: 2012-06-06 10:56:28 UTC
  • mfrom: (193.2.4 go)
  • Revision ID: fwereade@gmail.com-20120606105628-lyn790m80wjwhucg
add AssignmentPolicy to Environ

This is very likely to migrate to a Settings type at some stage, but I don't
think that's justified yet.

R=niemeyer
CC=
https://codereview.appspot.com/6259062

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        "launchpad.net/juju/go/environs"
13
13
        "launchpad.net/juju/go/environs/ec2"
14
14
        "launchpad.net/juju/go/environs/jujutest"
 
15
        "launchpad.net/juju/go/state"
15
16
        "launchpad.net/juju/go/testing"
16
17
        "launchpad.net/juju/go/version"
17
18
        "strings"
188
189
}
189
190
 
190
191
func (t *localServerSuite) TestBootstrapInstanceUserDataAndState(c *C) {
 
192
        policy := t.env.AssignmentPolicy()
 
193
        c.Assert(policy, Equals, state.AssignUnused)
 
194
 
191
195
        err := t.env.Bootstrap(true)
192
196
        c.Assert(err, IsNil)
193
197