Revision 6c78720b snf-tools/synnefo_tools/burnin/images_tests.py
b/snf-tools/synnefo_tools/burnin/images_tests.py | ||
---|---|---|
135 | 135 |
def test_007_download_image(self): |
136 | 136 |
"""Download image from Pithos""" |
137 | 137 |
# Find the 'Debian Base' image |
138 |
image = self._find_image(["name:^Debian Base$"], |
|
139 |
images=self.system_images) |
|
138 |
images = self._find_images(["name:^Debian Base$"], |
|
139 |
images=self.system_images) |
|
140 |
image = images[0] |
|
141 |
self.info("Will use %s with id %s", image['name'], image['id']) |
|
140 | 142 |
image_location = \ |
141 | 143 |
image['location'].replace("://", " ").replace("/", " ").split() |
142 | 144 |
image_owner = image_location[1] |
Also available in: Unified diff