Fix tests.

This commit is contained in:
Jake Moshenko 2014-04-30 18:54:59 -04:00
parent 6067dcf3d5
commit 77b9bc05ac

View file

@ -156,6 +156,7 @@ class TestBuildLogs(BuildLogs):
num_images = random.randint(2, 7) num_images = random.randint(2, 7)
sizes = [random.randint(one_mb, one_mb * 5) for _ in range(num_images)] sizes = [random.randint(one_mb, one_mb * 5) for _ in range(num_images)]
image_completion = {}
for image_num, image_size in enumerate(sizes): for image_num, image_size in enumerate(sizes):
image_id = 'image_id_%s' % image_num image_id = 'image_id_%s' % image_num