Add Dagster orchestration and reduce active brands in backend
This commit is contained in:
@@ -56,6 +56,17 @@ os.environ.setdefault("DB_PASSWORD", "test-password-not-real")
|
||||
os.environ.setdefault("USE_S3", "false")
|
||||
os.environ.setdefault("USE_GOOGLE_CSE", "false")
|
||||
|
||||
# Unconditional, NOT setdefault. The suite pins brand-name behaviour all over
|
||||
# the place ("any Nestle chocolates?", the suggest ranking fixtures), and a
|
||||
# developer's backend/.env now carries a real ACTIVE_BRANDS value. Letting that
|
||||
# leak in would make those tests pass or fail depending on whose machine ran
|
||||
# them - the same trap AUTH_ALLOW_ANY_LOGIN sprang before it was pinned here.
|
||||
#
|
||||
# Blank means "no brand filtering", so every existing test sees the historical
|
||||
# behaviour. The filtering itself is covered by tests/test_active_brands.py,
|
||||
# which sets the value explicitly and clears the parsed cache.
|
||||
os.environ["ACTIVE_BRANDS"] = ""
|
||||
|
||||
# Auth is set unconditionally (not setdefault): the suite asserts on the real
|
||||
# guards, so it must never inherit a developer's AUTH_ENABLED=false.
|
||||
os.environ["AUTH_ENABLED"] = "true"
|
||||
|
||||
Reference in New Issue
Block a user