We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60e466 commit d5ec56cCopy full SHA for d5ec56c
tests/contrib/auth/test_models.py
@@ -20,7 +20,7 @@ def test_get_session_auth_hash__value_error(self, db):
20
with pytest.raises(ValueError) as e:
21
user.get_session_auth_hash()
22
23
- assert "'session_salt' must be set" in str(e)
+ assert "'session_salt' must be set" in str(e.value)
24
25
def test_get_session_auth_hash__unique(self, db):
26
spiderman = EmailUser(email='spiderman@avengers.com')
0 commit comments