Skip to content

Commit

Permalink
add 404 for the file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Oct 19, 2024
1 parent c33e3bc commit cf5f679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tests/test_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ def test_get_GpxView(self):
def test_get_workspace(self):
# get training workspace

res = self.client.get(f"{API_BASE}/workspace/dataset_1/")
self.assertEqual(res.status_code, 409)
res = self.client.get(f"{API_BASE}/workspace/dataset_1/", headers=headersList)
self.assertEqual(res.status_code, 404)

def test_download_workspace(self):
try:
Expand Down

0 comments on commit cf5f679

Please sign in to comment.