From 3f90501bbc27681f2fa470c102ce914efe39cccf Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sun, 8 May 2022 11:47:58 +0200 Subject: [PATCH 2/9] tests: move api tests in subdirectory (#62013) --- tests/api/__init__.py | 0 tests/{test_api.py => api/test_all.py} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/api/__init__.py rename tests/{test_api.py => api/test_all.py} (99%) diff --git a/tests/api/__init__.py b/tests/api/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/test_api.py b/tests/api/test_all.py similarity index 99% rename from tests/test_api.py rename to tests/api/test_all.py index 24018f57..6cf4b039 100644 --- a/tests/test_api.py +++ b/tests/api/test_all.py @@ -41,7 +41,7 @@ from authentic2.models import Attribute, AttributeValue, AuthorizedRole, Passwor from authentic2.utils.misc import good_next_url from django_rbac.models import SEARCH_OP -from .utils import assert_event, basic_authorization_header, get_link_from_mail, login +from ..utils import assert_event, basic_authorization_header, get_link_from_mail, login pytestmark = pytest.mark.django_db -- 2.35.1