From 6e001b16a4780297b877d8f9ebbadf8a57aa2178 Mon Sep 17 00:00:00 2001 From: Conor Holden <conor@maykinmedia.nl> Date: Tue, 30 Jul 2024 10:30:02 +0200 Subject: [PATCH] :recycle:[#114] refactor setup configuraiton directory --- .../setupconfig/{bootstrap/auth.py => boostrap.py} | 4 ++-- mozilla_django_oidc_db/setupconfig/bootstrap/__init__.py | 0 tests/setupconfig/test_auth.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename mozilla_django_oidc_db/setupconfig/{bootstrap/auth.py => boostrap.py} (97%) delete mode 100644 mozilla_django_oidc_db/setupconfig/bootstrap/__init__.py diff --git a/mozilla_django_oidc_db/setupconfig/bootstrap/auth.py b/mozilla_django_oidc_db/setupconfig/boostrap.py similarity index 97% rename from mozilla_django_oidc_db/setupconfig/bootstrap/auth.py rename to mozilla_django_oidc_db/setupconfig/boostrap.py index e826d80..d4e917a 100644 --- a/mozilla_django_oidc_db/setupconfig/bootstrap/auth.py +++ b/mozilla_django_oidc_db/setupconfig/boostrap.py @@ -4,8 +4,8 @@ from django_setup_configuration.configuration import BaseConfigurationStep from django_setup_configuration.exceptions import ConfigurationRunFailed -from ...forms import OpenIDConnectConfigForm -from ...models import OpenIDConnectConfig +from ..forms import OpenIDConnectConfigForm +from ..models import OpenIDConnectConfig class AdminOIDCConfigurationStep(BaseConfigurationStep): diff --git a/mozilla_django_oidc_db/setupconfig/bootstrap/__init__.py b/mozilla_django_oidc_db/setupconfig/bootstrap/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tests/setupconfig/test_auth.py b/tests/setupconfig/test_auth.py index 0083b04..702746a 100644 --- a/tests/setupconfig/test_auth.py +++ b/tests/setupconfig/test_auth.py @@ -9,7 +9,7 @@ OpenIDConnectConfig, UserInformationClaimsSources, ) -from mozilla_django_oidc_db.setupconfig.bootstrap.auth import AdminOIDCConfigurationStep +from mozilla_django_oidc_db.setupconfig.boostrap import AdminOIDCConfigurationStep IDENTITY_PROVIDER = django_settings.IDENTITY_PROVIDER