We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72cafaf commit 43146e2Copy full SHA for 43146e2
app/api/tests/test_api.py
@@ -1332,10 +1332,8 @@ def test_returns_exact_progress(self):
1332
self.client.login(username=self.super_user_name,
1333
password=self.super_user_pass)
1334
response = self.client.get(self.url, format='json')
1335
- total = self.doc.count()
1336
- remaining = self.doc.filter(doc_annotations__isnull=True).count()
1337
- self.assertEqual(response.data['total'], total)
1338
- self.assertEqual(response.data['remaining'], remaining)
+ self.assertEqual(response.data['total'], 2)
+ self.assertEqual(response.data['remaining'], 1)
1339
1340
def test_returns_user_count(self):
1341
0 commit comments