mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-12 14:21:03 +08:00
Fix sandbox security gaps: (1) add token auth + rate limiter to POST /run, bind port to localhost; (2) default containers to --network none. Backward compatible. Tests pass, docs updated. --------- Co-authored-by: jindou <jindou@local>
7 lines
282 B
INI
7 lines
282 B
INI
[pytest]
|
|
# Unit tests for the executor manager. They use top-level imports resolved
|
|
# against this directory (mirroring WORKDIR /app in the Docker image), so the
|
|
# rootdir must stay here and not pick up the repository-level pytest config.
|
|
python_files = test_*.py
|
|
testpaths = tests
|