From 9f5db5d778e4f6ddc3e85e4b55207ea98a81e4d4 Mon Sep 17 00:00:00 2001 From: Jens Nistler Date: Thu, 27 Jun 2024 13:05:38 +0200 Subject: [PATCH] use assertEqual instead of assertEquals --- django_celery_token_bucket/tests/test_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_celery_token_bucket/tests/test_tasks.py b/django_celery_token_bucket/tests/test_tasks.py index 8f96f07..8d8d456 100644 --- a/django_celery_token_bucket/tests/test_tasks.py +++ b/django_celery_token_bucket/tests/test_tasks.py @@ -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):