Add registry tests for pushing and pulling previously bad repo names

This commit is contained in:
Joseph Schorr 2018-01-29 13:30:49 -05:00
parent 0db304e169
commit b342111edb
2 changed files with 11 additions and 1 deletions

View file

@ -2241,7 +2241,7 @@ class TestGetRepository(ApiTestCase):
def test_getrepo_badnames(self):
self.login(ADMIN_ACCESS_USER)
bad_names = ['logs', 'build', 'tokens', 'foo-bar', 'foo_bar']
bad_names = ['logs', 'build', 'tokens', 'foo.bar', 'foo-bar', 'foo_bar']
# For each bad name, create the repo.
for bad_name in bad_names: