Browse Source

Fix test broken by progress API change

pull/230/head
Vinay Augustine 5 years ago
parent
commit
72e57967b0
1 changed files with 1 additions and 1 deletions
  1. 2
      app/server/tests/test_api.py

2
app/server/tests/test_api.py

@ -933,7 +933,7 @@ class TestStatisticsAPI(APITestCase):
main_project = mommy.make('server.TextClassificationProject', users=[super_user])
doc1 = mommy.make('server.Document', project=main_project)
doc2 = mommy.make('server.Document', project=main_project)
mommy.make('DocumentAnnotation', document=doc1)
mommy.make('DocumentAnnotation', document=doc1, user=super_user)
cls.url = reverse(viewname='statistics', args=[main_project.id])
cls.doc = Document.objects.filter(project=main_project)

Loading…
Cancel
Save