Strip whitespace from ALL the things.
This commit is contained in:
parent
f6dd8b0a4d
commit
716d7a737b
171 changed files with 807 additions and 807 deletions
|
@ -42,7 +42,7 @@ class TestGarbageColection(unittest.TestCase):
|
|||
database.ImageStoragePlacement.get(location=location, storage=image.storage)
|
||||
except:
|
||||
continue
|
||||
|
||||
|
||||
database.ImageStoragePlacement.create(location=location, storage=image.storage)
|
||||
|
||||
return image.storage
|
||||
|
@ -62,7 +62,7 @@ class TestGarbageColection(unittest.TestCase):
|
|||
image_map[image_id] = self.createImage(image_id, repo, namespace)
|
||||
|
||||
# Set the ancestors for the image.
|
||||
parent = model.set_image_metadata(image_id, namespace, name, '', '', '', parent=parent)
|
||||
parent = model.set_image_metadata(image_id, namespace, name, '', '', '', parent=parent)
|
||||
|
||||
# Set the tag for the image.
|
||||
model.create_or_update_tag(namespace, name, tag_name, image_ids[-1])
|
||||
|
@ -159,7 +159,7 @@ class TestGarbageColection(unittest.TestCase):
|
|||
verifying at each step.
|
||||
"""
|
||||
repository = self.createRepository(
|
||||
latest = ['i1', 'i2', 'i3'],
|
||||
latest = ['i1', 'i2', 'i3'],
|
||||
other = ['i1', 'f1', 'f2'],
|
||||
third = ['t1', 't2', 't3'],
|
||||
fourth = ['i1', 'f1'])
|
||||
|
@ -198,7 +198,7 @@ class TestGarbageColection(unittest.TestCase):
|
|||
|
||||
def test_empty_gc(self):
|
||||
repository = self.createRepository(
|
||||
latest = ['i1', 'i2', 'i3'],
|
||||
latest = ['i1', 'i2', 'i3'],
|
||||
other = ['i1', 'f1', 'f2'],
|
||||
third = ['t1', 't2', 't3'],
|
||||
fourth = ['i1', 'f1'])
|
||||
|
|
Reference in a new issue