-
Notifications
You must be signed in to change notification settings - Fork 586
Expand file tree
/
Copy path.pytest.ini
More file actions
21 lines (20 loc) · 833 Bytes
/
.pytest.ini
File metadata and controls
21 lines (20 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[pytest]
# Ignore any package that isn't included in the "most" extra
# Users can still explicitly run tests in excluded packages, and these are explicitly executed by run_tests.py
addopts =
--ignore=examples/
--ignore=packages/nvidia_nat_openpipe_art
--ignore=packages/nvidia_nat_rag
--ignore=packages/nvidia_nat_ragaai
testpaths =
tests
markers =
benchmark: Benchmarks
integration: Integration tests which do not use mocks and may require external services
requires_cache: Tests that require a reverse-proxy cache to be running
slow: Slow tests
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
# Global timeout of 5 minutes per test to catch hanging tests.
# Individual tests can override with @pytest.mark.timeout(seconds) or disable with @pytest.mark.timeout(0)
timeout = 300