diff --git a/tests/test_forms.py b/tests/test_forms.py index ab88c40..44f4ee8 100644 --- a/tests/test_forms.py +++ b/tests/test_forms.py @@ -1,7 +1,7 @@ from __future__ import absolute_import, unicode_literals -from django_recaptcha.fields import ReCaptchaField from django.test import TestCase +from django_recaptcha.fields import ReCaptchaField from home.models import TestCaptchaEmailFormField from wagtailcaptcha.forms import WagtailCaptchaFormBuilder diff --git a/tests/testapp/testapp/settings.py b/tests/testapp/testapp/settings.py index 1ee3374..c8766ea 100644 --- a/tests/testapp/testapp/settings.py +++ b/tests/testapp/testapp/settings.py @@ -128,7 +128,7 @@ EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" # Silence some errors -SILENCED_SYSTEM_CHECKS = ["captcha.recaptcha_test_key_error"] +SILENCED_SYSTEM_CHECKS = ["django_recaptcha.recaptcha_test_key_error"] DEFAULT_AUTO_FIELD = "django.db.models.AutoField" try: