Repository navigation
Expand file tree
/
Copy pathpytest.ini
More file actions
25 lines (25 loc) · 1.46 KB
/
Copy pathpytest.ini
File metadata and controls
25 lines (25 loc) · 1.46 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
[pytest]
testpaths = tests
pythonpath = client
asyncio_mode = auto
# Only matters with -n: keeps tests marked xdist_group on one worker.
addopts = --dist loadgroup
markers =
wxgui: constructs a REAL top-level wx dialog, which takes foreground focus
and has crashed NVDA live (event_gainFocus -> getDialogText ->
IAccessible._get_children -> oleacc.AccessibleObjectFromEvent, while the
test destroys the window it is reading). SKIPPED BY DEFAULT - pass
--run-wx-gui or set WINZAPP_RUN_WX_GUI_TESTS=1 to run them, which every
CI workflow does. Frames elsewhere go through conftest.hidden_frame()
and are off-screen tool windows, so only Dialog subclasses need this.
slow: tests that run migration on large datasets
integration: tests that require a real wx.App
load: synthetic load tests with configurable scenario size. SKIPPED BY
DEFAULT - pass --run-load to run them; they always run when the CI
environment variable is set.
docs: assertions about documentation matching the code; deselected by release.yml
so a stale Markdown sentence can never block a stable release build
network: reaches a real remote host (the Hugging Face model URLs). SKIPPED BY
DEFAULT - set WINZAPP_RUN_NETWORK_TESTS=1 to run them. They are the safety
net for "no model may offer a broken link", so they are meant to be run by
hand whenever the model catalogue changes, not on every suite run.