Skip to content

Commit

Permalink
output error in unittest assert
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMorsch committed Feb 9, 2025
1 parent 41f1c8d commit 468e643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_endpoints/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def test_reset_password(self):
headers={"Authorization": f"Bearer {token}"},
json={"new_password": ""},
)
self.assertEqual(rv.status_code, 400)
self.assertEqual(rv.status_code, 400, rv.data)
# now that should work
rv = self.client.post(
BASE_URL + "/users/-/password/reset/",
Expand Down Expand Up @@ -650,7 +650,7 @@ def test_confirm_email(self):
BASE_URL + "/users/-/email/confirm/",
headers={"Authorization": f"Bearer {token}"},
)
self.assertEqual(rv.status_code, 200)
self.assertEqual(rv.status_code, 200, rv.data)
# check return template
self.assertIn(b"Thank you for confirming your e-mail address", rv.data)
# get owner token
Expand Down

0 comments on commit 468e643

Please sign in to comment.