forked from pool/python-ansible-compat
- disable pytest's test name check
https://github.com/ansible/ansible-compat/issues/340 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/python-ansible-compat?expand=0&rev=21
This commit is contained in:
parent
6fb84f443d
commit
81a2e9be2b
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 24 13:03:50 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- disable pytest's test name check
|
||||||
|
https://github.com/ansible/ansible-compat/issues/340
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 6 15:25:15 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Wed Sep 6 15:25:15 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
@ -87,6 +87,8 @@ IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedF-scanT-raises_n
|
|||||||
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanF-raises_not_foundT]"
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanF-raises_not_foundT]"
|
||||||
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanT-raises_not_foundT]"
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanT-raises_not_foundT]"
|
||||||
IGNORED_CHECKS="${IGNORED_CHECKS} or test_upgrade_collection"
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_upgrade_collection"
|
||||||
|
# Disable checks on test names: https://github.com/pytest-dev/pytest-plus#user-content-avoiding-problematic-test-identifiers https://github.com/ansible/ansible-compat/issues/340
|
||||||
|
export PYTEST_CHECK_TEST_ID_REGEX=0
|
||||||
%pytest -k "not (${IGNORED_CHECKS})"
|
%pytest -k "not (${IGNORED_CHECKS})"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user