Add some tests to verify we're not leaking anything to completely public users (we're not)

This commit is contained in:
yackob03 2013-11-06 17:09:22 -05:00
parent 7dc4c2b250
commit db59b5bf9c
6 changed files with 440 additions and 101 deletions

View file

@ -580,6 +580,7 @@ def get_repository_images(namespace_name, repository_name):
return joined.where(Repository.name == repository_name,
Repository.namespace == namespace_name)
def list_repository_tags(namespace_name, repository_name):
select = RepositoryTag.select(RepositoryTag, Image)
with_repo = select.join(Repository)