Add a horrific test case for the repository images.
This commit is contained in:
parent
2ae4dbd9fa
commit
e4a0f70bc7
2 changed files with 10 additions and 0 deletions
10
initdb.py
10
initdb.py
|
@ -90,6 +90,16 @@ if __name__ == '__main__':
|
||||||
'staging'),
|
'staging'),
|
||||||
(1, [], None)], None)], None))
|
(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, [],
|
__generate_repository(new_user_2, 'publicrepo', True, [],
|
||||||
(10, [], 'latest'))
|
(10, [], 'latest'))
|
||||||
|
|
||||||
|
|
BIN
test.db
BIN
test.db
Binary file not shown.
Reference in a new issue