Fix 500 on logout
This commit is contained in:
parent
79101c1055
commit
11c7994398
2 changed files with 9 additions and 1 deletions
|
@ -1366,6 +1366,14 @@ class TestListRepos(ApiTestCase):
|
|||
for repo in json['repositories']:
|
||||
self.assertEquals(ORGANIZATION, repo['namespace'])
|
||||
|
||||
def test_listrepos_starred_nouser(self):
|
||||
json = self.getJsonResponse(RepositoryList,
|
||||
params=dict(last_modified=True,
|
||||
popularity=True,
|
||||
starred=True))
|
||||
|
||||
self.assertEquals(len(json['repositories']), 0)
|
||||
|
||||
def test_listrepos_starred(self):
|
||||
self.login(ADMIN_ACCESS_USER)
|
||||
|
||||
|
|
Reference in a new issue