root: fix migrations for CI
This commit is contained in:
parent
ff4bd1c91f
commit
4f785da452
|
@ -96,12 +96,14 @@ INSTALLED_APPS = [
|
||||||
"passbook.providers.oidc.apps.PassbookProviderOIDCConfig",
|
"passbook.providers.oidc.apps.PassbookProviderOIDCConfig",
|
||||||
"passbook.providers.saml.apps.PassbookProviderSAMLConfig",
|
"passbook.providers.saml.apps.PassbookProviderSAMLConfig",
|
||||||
"passbook.providers.samlv2.apps.PassbookProviderSAMLv2Config",
|
"passbook.providers.samlv2.apps.PassbookProviderSAMLv2Config",
|
||||||
|
"passbook.stages.dummy.apps.PassbookStageDummyConfig",
|
||||||
"passbook.stages.login.apps.PassbookStageLoginConfig",
|
"passbook.stages.login.apps.PassbookStageLoginConfig",
|
||||||
"passbook.stages.identification.apps.PassbookStageIdentificationConfig",
|
"passbook.stages.identification.apps.PassbookStageIdentificationConfig",
|
||||||
"passbook.stages.otp.apps.PassbookStageOTPConfig",
|
"passbook.stages.otp.apps.PassbookStageOTPConfig",
|
||||||
"passbook.stages.captcha.apps.PassbookStageCaptchaConfig",
|
"passbook.stages.captcha.apps.PassbookStageCaptchaConfig",
|
||||||
"passbook.stages.password.apps.PassbookStagePasswordConfig",
|
"passbook.stages.password.apps.PassbookStagePasswordConfig",
|
||||||
"passbook.stages.email.apps.PassbookStageEmailConfig",
|
"passbook.stages.email.apps.PassbookStageEmailConfig",
|
||||||
|
"passbook.policies.dummy.apps.PassbookPolicyDummyConfig",
|
||||||
"passbook.policies.expiry.apps.PassbookPolicyExpiryConfig",
|
"passbook.policies.expiry.apps.PassbookPolicyExpiryConfig",
|
||||||
"passbook.policies.reputation.apps.PassbookPolicyReputationConfig",
|
"passbook.policies.reputation.apps.PassbookPolicyReputationConfig",
|
||||||
"passbook.policies.hibp.apps.PassbookPolicyHIBPConfig",
|
"passbook.policies.hibp.apps.PassbookPolicyHIBPConfig",
|
||||||
|
@ -353,7 +355,7 @@ TEST_RUNNER = "xmlrunner.extra.djangotestrunner.XMLTestRunner"
|
||||||
TEST_OUTPUT_FILE_NAME = "unittest.xml"
|
TEST_OUTPUT_FILE_NAME = "unittest.xml"
|
||||||
|
|
||||||
if any("test" in arg for arg in sys.argv):
|
if any("test" in arg for arg in sys.argv):
|
||||||
LOGGING["loggers"]["django"]["level"] = "DEBUG"
|
LOGGING = None
|
||||||
TEST = True
|
TEST = True
|
||||||
CELERY_TASK_ALWAYS_EAGER = True
|
CELERY_TASK_ALWAYS_EAGER = True
|
||||||
|
|
||||||
|
@ -389,10 +391,4 @@ if DEBUG:
|
||||||
INSTALLED_APPS.append("debug_toolbar")
|
INSTALLED_APPS.append("debug_toolbar")
|
||||||
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
|
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
|
||||||
|
|
||||||
# Load Dummy/Debug objects
|
|
||||||
INSTALLED_APPS += [
|
|
||||||
"passbook.stages.dummy.apps.PassbookStageDummyConfig",
|
|
||||||
"passbook.policies.dummy.apps.PassbookPolicyDummyConfig",
|
|
||||||
]
|
|
||||||
|
|
||||||
INSTALLED_APPS.append("passbook.core.apps.PassbookCoreConfig")
|
INSTALLED_APPS.append("passbook.core.apps.PassbookCoreConfig")
|
||||||
|
|
Reference in New Issue