From 21e80f6961e97d7ee9188bff1ebc7d8ede4b8c71 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Fri, 3 Nov 2023 20:00:07 +0100 Subject: [PATCH] =?UTF-8?q?[ADD]=20`=5F=5Finit=5F=5F.py`=20to=20test=20?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- allianceauth/framework/tests/__init__.py | 3 +++ allianceauth/framework/tests/test_api_user.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 allianceauth/framework/tests/__init__.py diff --git a/allianceauth/framework/tests/__init__.py b/allianceauth/framework/tests/__init__.py new file mode 100644 index 00000000..2666d875 --- /dev/null +++ b/allianceauth/framework/tests/__init__.py @@ -0,0 +1,3 @@ +""" +Initializing our tests +""" diff --git a/allianceauth/framework/tests/test_api_user.py b/allianceauth/framework/tests/test_api_user.py index afb90b00..957beb21 100644 --- a/allianceauth/framework/tests/test_api_user.py +++ b/allianceauth/framework/tests/test_api_user.py @@ -9,8 +9,10 @@ from django.contrib.auth.models import Group, User from django.test import TestCase # Alliance Auth -from allianceauth.framework.api.user import get_sentinel_user, \ +from allianceauth.framework.api.user import ( + get_sentinel_user, get_main_character_name_from_user +) from allianceauth.tests.auth_utils import AuthUtils