Stuff was done.

Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-06-17 11:12:59 -04:00
parent fbc51a2c0c
commit cdf4a40591
2 changed files with 6 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ class Development(Config):
class Test(Development):
TESTING = True
WTF_CSRF_ENABLED = False # If enabled, pytest breaks.
WTF_CSRF_ENABLED = False
ASSET_DOMAIN = "static.example.com"
ASSET_PATH = "https://static.example.com/"
@@ -146,9 +146,6 @@ class Production(Config):
class Staging(Production):
HEADER_COLOUR = "#00ff00" # $green
# Attempting to enable CSRF in staging with the hopes that we can duplicate errors.
WTF_CSRF_ENABLED = True
class E2ETest(Staging):
"""
@@ -167,8 +164,6 @@ class E2ETest(Staging):
# Borrowed from test environment
TESTING = True
# Disabling CSRF for e2e because things break (a11y & dynamic scan)
WTF_CSRF_ENABLED = False
# buckets - mirror staging