Esempio n. 1
0
func (s *instanceSuite) TestInstanceRootDiskGBNilSpec(c *gc.C) {
	inst := google.Instance{}
	size := inst.RootDiskGB()

	c.Check(size, gc.Equals, uint64(0))
}
Esempio n. 2
0
func (s *diskSuite) TestRootDiskInstanceNilSpec(c *gc.C) {
	inst := google.Instance{}
	attached := inst.RootDisk()

	c.Assert(attached, gc.IsNil)
}