def test_memory_in_gb(self):
     manifest = dict(memory='1G')
     ManifestReader._convert_memory(manifest)
     self.assertEqual(1024, manifest['memory'])
 def test_memory_in_gb(self):
     manifest = dict(memory="1G")
     ManifestReader._convert_memory(manifest)
     self.assertEqual(1024, manifest["memory"])
 def test_memory_in_mb(self):
     manifest = dict(memory='2048MB')
     ManifestReader._convert_memory(manifest)
     self.assertEqual(2048, manifest['memory'])
 def test_memory_in_mb(self):
     manifest = dict(memory="2048MB")
     ManifestReader._convert_memory(manifest)
     self.assertEqual(2048, manifest["memory"])