def testCompleteBuildImage(self):
   """Test Complete BuildImage Command."""
   images_to_build = ['bob', 'carol', 'ted', 'alice']
   commands.BuildImage(self._buildroot, self._board, images_to_build,
       rootfs_verification=False, extra_env={'LOVE': 'free'},
       disk_layout='2+2', version='1969')
   self.assertCommandContains(['./build_image'])
Esempio n. 2
0
 def testBuildImage(self):
     """Test Basic BuildImage Command."""
     commands.BuildImage(self._buildroot, self._board, None)
     self.assertCommandContains(['./build_image'])