Fix tests.

This commit is contained in:
jakedt 2014-02-21 14:21:39 -05:00
parent 3cef327980
commit 71ecca4c62

View file

@ -43,7 +43,7 @@ class TestImageSharing(unittest.TestCase):
def createStorage(self, docker_image_id, repository=REPO, username=ADMIN_ACCESS_USER):
repository_obj = model.get_repository(repository.split('/')[0], repository.split('/')[1])
image = model.create_or_link_image(docker_image_id, repository_obj, username, {})
image = model.create_or_link_image(docker_image_id, repository_obj, username, {}, {})
return image.storage.id
def assertSameStorage(self, docker_image_id, storage_id, repository=REPO, username=ADMIN_ACCESS_USER):