-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
35 lines (34 loc) · 1.39 KB
/
pytest.ini
File metadata and controls
35 lines (34 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[pytest]
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
testpaths = tests
python_files =
test_*.py
*_tests.py
tests.py
addopts =
--maxfail=1
--capture=no
--tb=auto
--cov=src/framex
--cov-report=term-missing:skip-covered
--cov-report=xml
--junitxml=junit.xml
--cov-fail-under=80
--cov-branch
-vv
-o junit_family=legacy
env =
COVERAGE_PROCESS_START=.coveragerc
server__use_ray=false
server__enable_proxy=true
load_builtin_plugins=["echo","proxy","invoker"]
plugins__proxy__proxy_urls=["http://localhost:9527"]
plugins__proxy__white_list=["/api/v1/proxy/mock/info","/proxy/mock/get","/proxy/mock/post","/proxy/mock/post_model","/proxy/mock/upload","/proxy/mock/auth/*"]
plugins__proxy__auth__rules={{"/proxy/mock/auth/*":["i_am_proxy_general_auth_keys"],"/api/v1/openapi.json":["i_am_proxy_docs_auth_keys"],"/proxy/mock/auth/sget":["i_am_proxy_special_auth_keys"],"/api/v1/proxy/remote":["i_am_proxy_func_auth_keys"]}}
plugins__proxy__proxy_functions={{"http://localhost:9527":["tests.test_plugins.remote_exchange_key_value"]}}
; plugins__proxy__force_stream_apis=[]
sentry__enable=false
test__silent=true
auth__rules={{"/api/v1/openapi.json":["i_am_docs_key"],"/api/v1/echo":["i_am_general_auth_keys"],"/api/v1/proxy/remote":["i_am_local_proxy_auth_keys"]}}
asyncio_mode = auto