diff --git a/flashcards/tests/test_api.py b/flashcards/tests/test_api.py index e6444a9..5dc32bf 100644 --- a/flashcards/tests/test_api.py +++ b/flashcards/tests/test_api.py @@ -53,7 +53,7 @@ class PasswordResetTest(APITestCase): email = "test@flashy.cards" User.objects.create_user(email=email, password="12345") - def reset_password(self): + def test_reset_password(self): url = '/api/reset_password' post_data = {'email': 'test@flashy.cards'} patch_data = {'new_password': '54321', @@ -169,4 +169,4 @@ class DeleteUserTest(APITestCase): self.client.login(email='none@none.com', password='1234') self.client.delete(url) - self.assertFalse(User.objects.filter(email='none@none.com').exists()) + self.assertFalse(User.objects.filter(email='none@none.com').exists()) \ No newline at end of file