Revision 2e3b7dc8
b/snf-tools/synnefo_tools/burnin.py | ||
---|---|---|
172 | 172 |
|
173 | 173 |
def test_005_image_metadata(self): |
174 | 174 |
"""Test every image has specific metadata defined""" |
175 |
keys = frozenset(["os", "description", "size"])
|
|
175 |
keys = frozenset(["osfamily", "root_partition"])
|
|
176 | 176 |
details = self.client.list_images(detail=True) |
177 | 177 |
for i in details: |
178 | 178 |
self.assertTrue(keys.issubset(i["metadata"]["values"].keys())) |
... | ... | |
253 | 253 |
@classmethod |
254 | 254 |
def setUpClass(cls): |
255 | 255 |
"""Initialize a kamaki instance""" |
256 |
log.info("Spawning server for image `%s'", %cls.imagename) |
|
257 |
|
|
256 |
log.info("Spawning server for image `%s'" %cls.imagename) |
|
258 | 257 |
cls.client = ComputeClient(API, TOKEN) |
259 | 258 |
cls.cyclades = CycladesClient(API, TOKEN) |
260 | 259 |
|
Also available in: Unified diff