Image vector to product details
This commit is contained in:
@@ -91,6 +91,11 @@ os.environ["AUTO_ENRICH_ON_UPLOAD"] = "false"
|
||||
# the worker are covered explicitly in tests/test_image_vector.py.
|
||||
os.environ["ENABLE_IMAGE_VECTORS"] = "false"
|
||||
|
||||
# And for server-side OCR: no test may import onnxruntime or load the 30MB
|
||||
# PP-OCR models. tests/test_ocr_service.py drives the service with a fake
|
||||
# engine and flips the flag on itself.
|
||||
os.environ["ENABLE_SERVER_OCR"] = "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