Add an "insane" test repo

This commit is contained in:
Joseph Schorr 2014-07-15 15:13:58 -04:00
parent e7625491d6
commit 5841c1237e
2 changed files with 39 additions and 1 deletions

View file

@ -217,7 +217,7 @@ class TestGetUserPrivateAllowed(ApiTestCase):
def test_allowed(self):
self.login(ADMIN_ACCESS_USER)
json = self.getJsonResponse(PrivateRepositories)
assert json['privateCount'] == 6
assert json['privateCount'] >= 6
assert json['privateAllowed']