From 2d702474fbfc84f2af6007e3e6b86a5712e7afcf Mon Sep 17 00:00:00 2001 From: erikamenezes Date: Tue, 21 May 2019 19:57:01 +0000 Subject: [PATCH] adding test for downloading json format with text labels --- app/server/tests/test_api.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/server/tests/test_api.py b/app/server/tests/test_api.py index 3177b5c9..ba3bfff1 100644 --- a/app/server/tests/test_api.py +++ b/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',