aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/users/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--alphabetlearning/users/tests/__init__.py (renamed from pyblackbird_cc/users/tests/__init__.py)0
-rw-r--r--alphabetlearning/users/tests/factories.py (renamed from pyblackbird_cc/users/tests/factories.py)2
-rw-r--r--alphabetlearning/users/tests/test_admin.py (renamed from pyblackbird_cc/users/tests/test_admin.py)4
-rw-r--r--alphabetlearning/users/tests/test_forms.py (renamed from pyblackbird_cc/users/tests/test_forms.py)4
-rw-r--r--alphabetlearning/users/tests/test_managers.py (renamed from pyblackbird_cc/users/tests/test_managers.py)2
-rw-r--r--alphabetlearning/users/tests/test_models.py (renamed from pyblackbird_cc/users/tests/test_models.py)2
-rw-r--r--alphabetlearning/users/tests/test_tasks.py (renamed from pyblackbird_cc/users/tests/test_tasks.py)4
-rw-r--r--alphabetlearning/users/tests/test_urls.py (renamed from pyblackbird_cc/users/tests/test_urls.py)2
-rw-r--r--alphabetlearning/users/tests/test_views.py (renamed from pyblackbird_cc/users/tests/test_views.py)12
9 files changed, 16 insertions, 16 deletions
diff --git a/pyblackbird_cc/users/tests/__init__.py b/alphabetlearning/users/tests/__init__.py
index e69de29..e69de29 100644
--- a/pyblackbird_cc/users/tests/__init__.py
+++ b/alphabetlearning/users/tests/__init__.py
diff --git a/pyblackbird_cc/users/tests/factories.py b/alphabetlearning/users/tests/factories.py
index 5c83741..c0e94a3 100644
--- a/pyblackbird_cc/users/tests/factories.py
+++ b/alphabetlearning/users/tests/factories.py
@@ -5,7 +5,7 @@ from factory import Faker
from factory import post_generation
from factory.django import DjangoModelFactory
-from pyblackbird_cc.users.models import User
+from alphabetlearning.users.models import User
class UserFactory(DjangoModelFactory):
diff --git a/pyblackbird_cc/users/tests/test_admin.py b/alphabetlearning/users/tests/test_admin.py
index 5132d21..bd7296f 100644
--- a/pyblackbird_cc/users/tests/test_admin.py
+++ b/alphabetlearning/users/tests/test_admin.py
@@ -8,7 +8,7 @@ from django.contrib.auth.models import AnonymousUser
from django.urls import reverse
from pytest_django.asserts import assertRedirects
-from pyblackbird_cc.users.models import User
+from alphabetlearning.users.models import User
class TestUserAdmin:
@@ -48,7 +48,7 @@ class TestUserAdmin:
def _force_allauth(self, settings):
settings.DJANGO_ADMIN_FORCE_ALLAUTH = True
# Reload the admin module to apply the setting change
- import pyblackbird_cc.users.admin as users_admin
+ import alphabetlearning.users.admin as users_admin
with contextlib.suppress(admin.sites.AlreadyRegistered):
reload(users_admin)
diff --git a/pyblackbird_cc/users/tests/test_forms.py b/alphabetlearning/users/tests/test_forms.py
index 0e4e17a..9ab1f7e 100644
--- a/pyblackbird_cc/users/tests/test_forms.py
+++ b/alphabetlearning/users/tests/test_forms.py
@@ -2,8 +2,8 @@
from django.utils.translation import gettext_lazy as _
-from pyblackbird_cc.users.forms import UserAdminCreationForm
-from pyblackbird_cc.users.models import User
+from alphabetlearning.users.forms import UserAdminCreationForm
+from alphabetlearning.users.models import User
class TestUserAdminCreationForm:
diff --git a/pyblackbird_cc/users/tests/test_managers.py b/alphabetlearning/users/tests/test_managers.py
index 66cad8d..1e5a5e3 100644
--- a/pyblackbird_cc/users/tests/test_managers.py
+++ b/alphabetlearning/users/tests/test_managers.py
@@ -3,7 +3,7 @@ from io import StringIO
import pytest
from django.core.management import call_command
-from pyblackbird_cc.users.models import User
+from alphabetlearning.users.models import User
@pytest.mark.django_db()
diff --git a/pyblackbird_cc/users/tests/test_models.py b/alphabetlearning/users/tests/test_models.py
index 33802cd..502536f 100644
--- a/pyblackbird_cc/users/tests/test_models.py
+++ b/alphabetlearning/users/tests/test_models.py
@@ -1,4 +1,4 @@
-from pyblackbird_cc.users.models import User
+from alphabetlearning.users.models import User
def test_user_get_absolute_url(user: User):
diff --git a/pyblackbird_cc/users/tests/test_tasks.py b/alphabetlearning/users/tests/test_tasks.py
index 6282bfb..92f0e8a 100644
--- a/pyblackbird_cc/users/tests/test_tasks.py
+++ b/alphabetlearning/users/tests/test_tasks.py
@@ -1,8 +1,8 @@
import pytest
from celery.result import EagerResult
-from pyblackbird_cc.users.tasks import get_users_count
-from pyblackbird_cc.users.tests.factories import UserFactory
+from alphabetlearning.users.tasks import get_users_count
+from alphabetlearning.users.tests.factories import UserFactory
pytestmark = pytest.mark.django_db
diff --git a/pyblackbird_cc/users/tests/test_urls.py b/alphabetlearning/users/tests/test_urls.py
index e5bdc25..e70dc03 100644
--- a/pyblackbird_cc/users/tests/test_urls.py
+++ b/alphabetlearning/users/tests/test_urls.py
@@ -1,7 +1,7 @@
from django.urls import resolve
from django.urls import reverse
-from pyblackbird_cc.users.models import User
+from alphabetlearning.users.models import User
def test_detail(user: User):
diff --git a/pyblackbird_cc/users/tests/test_views.py b/alphabetlearning/users/tests/test_views.py
index 5ca13fc..27e6064 100644
--- a/pyblackbird_cc/users/tests/test_views.py
+++ b/alphabetlearning/users/tests/test_views.py
@@ -12,12 +12,12 @@ from django.test import RequestFactory
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
-from pyblackbird_cc.users.forms import UserAdminChangeForm
-from pyblackbird_cc.users.models import User
-from pyblackbird_cc.users.tests.factories import UserFactory
-from pyblackbird_cc.users.views import UserRedirectView
-from pyblackbird_cc.users.views import UserUpdateView
-from pyblackbird_cc.users.views import user_detail_view
+from alphabetlearning.users.forms import UserAdminChangeForm
+from alphabetlearning.users.models import User
+from alphabetlearning.users.tests.factories import UserFactory
+from alphabetlearning.users.views import UserRedirectView
+from alphabetlearning.users.views import UserUpdateView
+from alphabetlearning.users.views import user_detail_view
pytestmark = pytest.mark.django_db