-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pytest.ini
More file actions
20 lines (19 loc) · 992 Bytes
/
.pytest.ini
File metadata and controls
20 lines (19 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[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_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
filterwarnings =
# Work-around for a warning emitted by strands https://github.com/strands-agents/sdk-python/issues/1236
ignore:^These events have been moved to production.*strands:DeprecationWarning
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