From 621968d3f8b8f8e430e23a328f433dbff08adfbc Mon Sep 17 00:00:00 2001 From: Mahdi Rahimi <31624047+mahdirahimi1999@users.noreply.github.com> Date: Thu, 7 Aug 2025 23:59:02 +0330 Subject: [PATCH] Update tests/test_authtoken.py Co-authored-by: Bruno Alla --- tests/test_authtoken.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_authtoken.py b/tests/test_authtoken.py index 33ac3db70..fb4689dda 100644 --- a/tests/test_authtoken.py +++ b/tests/test_authtoken.py @@ -51,9 +51,6 @@ class AuthTokenTests(TestCase): assert AuthTokenSerializer(data=data).is_valid() def test_token_creation_collision_raises_integrity_error(self): - """ - Verify that creating a token with an existing key raises IntegrityError. - """ user2 = User.objects.create_user('user2', 'user2@example.com', 'p') existing_token = Token.objects.create(user=user2)