Skip to content

Commit d5ec56c

Browse files
committed
Fix test suite
1 parent c60e466 commit d5ec56c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/contrib/auth/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_get_session_auth_hash__value_error(self, db):
2020
with pytest.raises(ValueError) as e:
2121
user.get_session_auth_hash()
2222

23-
assert "'session_salt' must be set" in str(e)
23+
assert "'session_salt' must be set" in str(e.value)
2424

2525
def test_get_session_auth_hash__unique(self, db):
2626
spiderman = EmailUser(email='spiderman@avengers.com')

0 commit comments

Comments
 (0)