diff --git a/backend/tests/test_endpoints.py b/backend/tests/test_endpoints.py index 118b44c5..6f63555f 100644 --- a/backend/tests/test_endpoints.py +++ b/backend/tests/test_endpoints.py @@ -115,7 +115,7 @@ def test_create_training(self): res = self.client.post( f"{API_BASE}/label/osm/fetch/{self.aoi.id}/", "", headers=headersList ) - self.assertEqual(res.status_code, 201) + self.assertEqual(res.status_code, 202) # download labels from osm for 2 @@ -304,8 +304,8 @@ def test_get_GpxView(self): ) self.assertEqual(res.status_code, status.HTTP_200_OK) - def test_get_workspace(self): - # get training workspace + # def test_get_workspace(self): + # # get training workspace - res = self.client.get(f"{API_BASE}/workspace/dataset_1/", headers=headersList) - self.assertEqual(res.status_code, 404) + # res = self.client.get(f"{API_BASE}/workspace/dataset_1/", headers=headersList) + # self.assertEqual(res.status_code, 404)