-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpytest.ini
More file actions
52 lines (44 loc) · 2.24 KB
/
Copy pathpytest.ini
File metadata and controls
52 lines (44 loc) · 2.24 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
[pytest]
addopts = -ra --maxfail=1 --ignore=contrib/
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.
unused_512B_disks: the test needs one or more free 512B-blocks disk or writable block device that it can erase.
unused_4k_disks: 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.
# * VM-related markers to give parameters to fixtures
vm_definitions: dicts of VM nick to VM defs for create_vms fixture.
continuation_of: dicts of VM nick to test (and soon VM nick) from which to start
# * installation-related markers to customize installer run
answerfile: dict defining an answerfile
package_source: source of packages during installation.
# * 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`).
debian_uefi_vm: tests that require a Debian UEFI VM
# * Disk-related markers
thick_provisioned: tests that use thick provisioned SRs.
disk_throughput_intensive: tests that fill a large VDI entirely (require a fast disk).
# * 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