Skip to content

Commit

Permalink
use assertEqual instead of assertEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
lociii committed Jun 27, 2024
1 parent 6a5cc4c commit 9f5db5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_celery_token_bucket/tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_returns_one(self):
"""
test that the message task just returns 1
"""
self.assertEquals(1, tasks.token_bucket_token())
self.assertEqual(1, tasks.token_bucket_token())


class TokenBucketRefillTaskTestCase(TestCase):
Expand Down

0 comments on commit 9f5db5d

Please sign in to comment.