Add a horrific test case for the repository images.

This commit is contained in:
yackob03 2013-10-10 21:01:25 -04:00
parent 2ae4dbd9fa
commit e4a0f70bc7
2 changed files with 10 additions and 0 deletions

View file

@ -90,6 +90,16 @@ if __name__ == '__main__':
'staging'),
(1, [], None)], None)], None))
__generate_repository(new_user_1, 'horrific', False, [],
(2, [(3, [], 'v2.0'),
(1, [(1, [(1, [], ['latest', 'prod'])],
'staging'),
(1, [], None)], None),
(20, [], 'v3.0'),
(5, [], 'v4.0'),
(1, [(1, [], 'v5.0'), (1, [], 'v6.0')], None)],
None))
__generate_repository(new_user_2, 'publicrepo', True, [],
(10, [], 'latest'))

BIN
test.db

Binary file not shown.