36
36
func (s *bootstrapSuite) TestBootstrapNeedsConfigCert(c *C) {
37
37
env := newEnviron("bar", noKeysDefined)
39
39
c.Assert(err, ErrorMatches, "environment configuration missing CA certificate")
42
42
func (s *bootstrapSuite) TestBootstrapKeyGeneration(c *C) {
43
43
env := newEnviron("foo", useDefaultKeys)
46
46
c.Assert(env.bootstrapCount, Equals, 1)