~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/lxd/provider_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        c.Check(envConfig.Name(), gc.Equals, "testenv")
88
88
}
89
89
 
90
 
func (s *ProviderFunctionalSuite) TestPrepareForBootstrap(c *gc.C) {
91
 
        env, err := s.provider.PrepareForBootstrap(envtesting.BootstrapContext(c), environs.PrepareForBootstrapParams{
 
90
func (s *ProviderFunctionalSuite) TestBootstrapConfig(c *gc.C) {
 
91
        cfg, err := s.provider.BootstrapConfig(environs.BootstrapConfigParams{
92
92
                Config: s.Config,
93
93
        })
94
94
        c.Assert(err, jc.ErrorIsNil)
 
95
        c.Check(cfg, gc.NotNil)
 
96
}
95
97
 
 
98
func (s *ProviderFunctionalSuite) TestPrepareForBootstrap(c *gc.C) {
 
99
        env, err := s.provider.PrepareForBootstrap(envtesting.BootstrapContext(c), s.Config)
 
100
        c.Assert(err, jc.ErrorIsNil)
96
101
        c.Check(env, gc.NotNil)
97
102
}