diff --git a/apps/account/tests/tests_common.py b/apps/account/tests/tests_common.py index 05185952..dea807c4 100644 --- a/apps/account/tests/tests_common.py +++ b/apps/account/tests/tests_common.py @@ -1,6 +1,6 @@ from rest_framework.test import APITestCase from rest_framework import status -from authorization.tests.tests import get_tokens_for_user +from authorization.tests.tests_authorization import get_tokens_for_user from http.cookies import SimpleCookie from account.models import User from django.urls import reverse diff --git a/apps/account/tests/tests_web.py b/apps/account/tests/tests_web.py index e771b31a..a3d93f4e 100644 --- a/apps/account/tests/tests_web.py +++ b/apps/account/tests/tests_web.py @@ -1,6 +1,6 @@ from rest_framework.test import APITestCase from rest_framework import status -from authorization.tests.tests import get_tokens_for_user +from authorization.tests.tests_authorization import get_tokens_for_user from django.urls import reverse from account.models import User diff --git a/apps/authorization/tests/__init__.py b/apps/authorization/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/apps/authorization/tests/tests.py b/apps/authorization/tests/tests_authorization.py similarity index 98% rename from apps/authorization/tests/tests.py rename to apps/authorization/tests/tests_authorization.py index d9fd7b71..4a5d2a2b 100644 --- a/apps/authorization/tests/tests.py +++ b/apps/authorization/tests/tests_authorization.py @@ -22,6 +22,7 @@ def get_tokens_for_user( class AuthorizationTests(APITestCase): def setUp(self): + print("Auth!") data = get_tokens_for_user() self.username = data["username"] self.password = data["password"]