~rogpeppe/juju-core/128-jujud-bootstrap-do-not-use-bootstrapped-environment

« back to all changes in this revision

Viewing changes to cmd/jujud/bootstrap_test.go

  • Committer: Roger Peppe
  • Date: 2012-10-12 13:51:27 UTC
  • Revision ID: roger.peppe@canonical.com-20121012135127-c80hvzam4xbkc17o
gofmt

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        st, err := state.Open(&state.Info{Addrs: []string{s.stateAddr(c)}})
70
70
        c.Assert(err, IsNil)
71
71
        defer st.Close()
72
 
        machines, err := st.AllMachines()
 
72
        machines, err := st.AllMachines()
73
73
        c.Assert(err, IsNil)
74
74
        c.Assert(len(machines), Equals, 1)
75
75