We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62438f8 commit a5dc5cbCopy full SHA for a5dc5cb
api/tests/privaterelay_views_tests.py
@@ -388,9 +388,7 @@ def process_auto_signup_then_create_account(
388
"allauth.socialaccount.internal.flows.signup.process_auto_signup",
389
side_effect=process_auto_signup_then_create_account,
390
) as mock_process_signup,
391
- self.assertRaisesMessage(
392
- IntegrityError, "duplicate key value violates unique constraint"
393
- ),
+ self.assertRaises(IntegrityError),
394
):
395
client.post(self.path)
396
mock_process_signup.assert_called_once()
0 commit comments