diff --git a/rest_auth/tests/test_api.py b/rest_auth/tests/test_api.py index a24e9f0..0356d19 100644 --- a/rest_auth/tests/test_api.py +++ b/rest_auth/tests/test_api.py @@ -459,7 +459,7 @@ class APITestCase1(TestCase, BaseAPITestCase): email_confirmation = new_user.emailaddress_set.get(email=self.EMAIL)\ .emailconfirmation_set.order_by('-created')[0] self.post( - self.veirfy_email_url, + self.verify_email_url, data={"key": email_confirmation.key}, status_code=status.HTTP_200_OK ) diff --git a/rest_auth/tests/test_base.py b/rest_auth/tests/test_base.py index faaf7bb..48d94f0 100644 --- a/rest_auth/tests/test_base.py +++ b/rest_auth/tests/test_base.py @@ -97,7 +97,7 @@ class BaseAPITestCase(object): self.register_url = reverse('rest_register') self.password_reset_url = reverse('rest_password_reset') self.user_url = reverse('rest_user_details') - self.veirfy_email_url = reverse('rest_verify_email') + self.verify_email_url = reverse('rest_verify_email') self.fb_login_url = reverse('fb_login') self.tw_login_url = reverse('tw_login') self.tw_login_no_view_url = reverse('tw_login_no_view') diff --git a/rest_auth/tests/test_social.py b/rest_auth/tests/test_social.py index 56bdace..47ac0bb 100644 --- a/rest_auth/tests/test_social.py +++ b/rest_auth/tests/test_social.py @@ -263,7 +263,7 @@ class TestSocialAuth(TestCase, BaseAPITestCase): email_confirmation = new_user.emailaddress_set.get(email=self.EMAIL)\ .emailconfirmation_set.order_by('-created')[0] self.post( - self.veirfy_email_url, + self.verify_email_url, data={"key": email_confirmation.key}, status_code=status.HTTP_200_OK )