blob: 6d756a289b556949a542225602ada3f2427fedc3 (
plain)
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
|
[pytest]
testpaths = .
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
memres: marks tests that require memory resident mode
network: marks tests that require network access
boot: marks tests that boot a full QEMU image (requires pexpect)
incus: marks incus runtime tests
k3s: marks k3s runtime tests
# Default options - include junit xml for CI and detailed output
addopts = -v --tb=short --junitxml=/tmp/pytest-results.xml
# Log file for test output (always written, survives test runs)
log_file = /tmp/pytest-vcontainer.log
log_file_level = DEBUG
log_file_format = %(asctime)s %(levelname)s %(message)s
log_file_date_format = %Y-%m-%d %H:%M:%S
# Also show logs on console during test run
log_cli = false
log_cli_level = INFO
# Ignore warnings from subprocess
filterwarnings =
ignore::DeprecationWarning
|