Image vector embedding
This commit is contained in:
@@ -85,6 +85,12 @@ os.environ["ACTIVE_BRANDS"] = ""
|
||||
# turns it on explicitly, the same arrangement ACTIVE_BRANDS has above.
|
||||
os.environ["AUTO_ENRICH_ON_UPLOAD"] = "false"
|
||||
|
||||
# Same arrangement for the image-vector worker: every call to
|
||||
# `upsert_brand_products` would otherwise start a thread that opens a
|
||||
# database connection and downloads product images. Off here; the hook and
|
||||
# the worker are covered explicitly in tests/test_image_vector.py.
|
||||
os.environ["ENABLE_IMAGE_VECTORS"] = "false"
|
||||
|
||||
# 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