1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
[tool:pytest]
# Test discovery
testpaths = .
python_files = test_*.py
python_classes = Test*
python_functions = test_*

# Markers
markers =
    network: tests that require network connectivity

# Default test options
addopts = -v --tb=short

# Exclude network tests by default when running in nix-build
# This can be overridden with --run-all or -m network
filterwarnings =
    ignore::DeprecationWarning
    ignore::PendingDeprecationWarning