1
0
Sebastian Wagner 2023-11-24 13:04:27 +00:00 committed by Git OBS Bridge
parent 6fb84f443d
commit 81a2e9be2b
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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}