Skip to content

Commit

Permalink
fix(tests): update status code assertion for label fetch endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 7, 2025
1 parent 3770f7c commit 22773fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/test_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,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, status.HTTP_201_CREATED)
self.assertEqual(res.status_code, 202)

# create training with epochs greater than the limit

Expand Down

0 comments on commit 22773fd

Please sign in to comment.