-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpytest.ini
39 lines (34 loc) · 1.58 KB
/
pytest.ini
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
32
33
34
35
36
37
38
39
[pytest]
addopts = -ra --maxfail=1
markers =
# *** Markers that change test behaviour ***
default_vm: mark a test with a default VM in case no --vm parameter was given.
# *** Markers used to select tests at collect stage ***
# * Host-related markers, automatically set based on fixtures
hostA2: a second member in the first pool.
hostB1: a second pool.
sr_disk: the test needs a free disk or writable block device that it can erase.
sr_disk_4k: the test needs a free 4KiB block device that it can erase.
# * VM-related markers, automatically set based on fixtures
no_vm: tests that do not require a VM to run.
uefi_vm: tests that require a UEFI VM to run.
unix_vm: tests that require a unix/linux VM to run.
windows_vm: tests that require a Windows VM to run.
# * Test targets related to VMs
small_vm: tests that it is enough to run just once, using the smallest possible VM.
big_vm: tests that it would be good to run with a big VM.
multi_vms: tests that it would be good to run on a variety of VMs (includes `small_vm` but excludes `big_vm`).
# * Other markers
reboot: tests that reboot one or more hosts.
flaky: flaky tests. Usually pass, but sometimes fail unexpectedly.
complex_prerequisites: tests whose prerequisites are complex and may require special attention.
quicktest: runs `quicktest`.
log_level = debug
log_cli = 1
log_cli_level = info
log_format = %(asctime)s.%(msecs)03d %(levelname)s %(message)s
log_date_format = %b %d %H:%M:%S
filterwarnings =
error
ignore::DeprecationWarning
xfail_strict=true