Browse Source

adding test for downloading json format with text labels

pull/217/head
erikamenezes 5 years ago
parent
commit
2d702474fb
1 changed files with 5 additions and 0 deletions
  1. 5
      app/server/tests/test_api.py

5
app/server/tests/test_api.py

@ -904,6 +904,11 @@ class TestDownloader(APITestCase):
format='json',
expected_status=status.HTTP_200_OK)
def test_can_download_labelling_json1(self):
self.download_test_helper(url=self.labeling_url,
format='json1',
expected_status=status.HTTP_200_OK)
def test_can_download_plain_text(self):
self.download_test_helper(url=self.classification_url,
format='plain',

Loading…
Cancel
Save