Replace assertEquals with assertEqual.

This commit is contained in:
Hasan Ramezani 2021-10-13 18:22:20 +02:00
parent e5edaf3b5d
commit 55ab5c6961

View file

@ -279,7 +279,7 @@ class AccessAttemptTest(DefenderTestCase):
"""
Test that the lowercase(None) returns None.
"""
self.assertEquals(utils.lower_username(None), None)
self.assertEqual(utils.lower_username(None), None)
def test_cooling_off(self):
""" Tests if the cooling time allows a user to login