Skip to content

Commit

Permalink
chore: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
corp-0 committed Feb 12, 2024
1 parent 317f9fd commit dd067bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/test_unhandled_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def test_custom_exception_handler(self):
response = ExceptionView.as_view()(request)

self.assertEqual(response.status_code, status.HTTP_500_INTERNAL_SERVER_ERROR)
self.assertEqual(response.data["error"], "An unhandled error occurred: This is a test exception")
self.assertIn("error", response.data)
self.assertEqual(response.data["error"], "Something went wrong on our end. Please try again later.")

0 comments on commit dd067bf

Please sign in to comment.