forked from NVIDIA-NeMo/Guardrails
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
25 lines (21 loc) · 1.04 KB
/
Copy pathpytest.ini
File metadata and controls
25 lines (21 loc) · 1.04 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
[pytest]
addopts = -p no:warnings -m "not perf"
log_level = WARNING
# The flag below should only be activated in special debug sessions
# i.e. the test hangs and we need to see what happened up to that point.
# There are some race conditions with how the logging streams are closed in the teardown
# phase, which will cause tests to fail or "magically" ignored.
log_cli = False
asyncio_default_fixture_loop_scope = function
markers =
recorded: deterministic cassette replay tests
serial: documentation-only marker for tests that may need serial scheduling
slow: high-runtime tests that may need separate scheduling
perf: wall-clock performance/timing tests; excluded from CI by default, run on demand with -m perf
live: tests that require real provider credentials or external services
vcr: marker used by pytest-recording
fake_cassette: cassette is hand-authored; refresh workflow must skip these tests
real_embeddings: tests that intentionally exercise configured real embedding providers
testpaths =
tests
benchmark/tests