Update tests/test_authtoken.py

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
Mahdi Rahimi 2025-08-07 23:59:39 +03:30 committed by GitHub
parent 621968d3f8
commit a720d71532
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,10 +82,6 @@ class AuthTokenTests(TestCase):
self.assertEqual(token.user, user2) self.assertEqual(token.user, user2)
def test_saving_existing_token_without_changes_does_not_alter_key(self): def test_saving_existing_token_without_changes_does_not_alter_key(self):
"""
Ensure that calling save() on an existing token without modifications
does not change its key.
"""
original_key = self.token.key original_key = self.token.key
self.token.save() self.token.save()