Fix tests.
This commit is contained in:
parent
3cef327980
commit
71ecca4c62
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue