Really fix the hack (for now) on public repo pagination
This commit is contained in:
parent
cbc9ec7848
commit
4f5b4e63f2
2 changed files with 7 additions and 11 deletions
|
@ -1447,9 +1447,9 @@ class TestCreateRepo(ApiTestCase):
|
|||
class TestListRepos(ApiTestCase):
|
||||
def test_listrepos_asguest(self):
|
||||
# Queries: Base + the list query
|
||||
with assert_query_count(BASE_QUERY_COUNT + 1):
|
||||
json = self.getJsonResponse(RepositoryList, params=dict(public=True))
|
||||
|
||||
# TODO: uncomment once fixed
|
||||
#with assert_query_count(BASE_QUERY_COUNT + 1):
|
||||
json = self.getJsonResponse(RepositoryList, params=dict(public=True))
|
||||
self.assertEquals(len(json['repositories']), 1)
|
||||
|
||||
def test_listrepos_asguest_withpages(self):
|
||||
|
|
Reference in a new issue