mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
pytest: update to work with recent Python
With Python 3.14, the required pytest version stopped working due to breaking changes in AST. This patch changes the test tool versions to the most recent one, by requiring only the minimal version, but not setting a specific one. Recent pytest version also requires that the search path for Python modules is defined. Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
@@ -4,3 +4,4 @@ junit_family = xunit1
|
||||
markers=
|
||||
source_order: mark test as order bound
|
||||
playbook: playbook tests
|
||||
pythonpath = tests
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
-r requirements.txt
|
||||
pytest==7.1.3
|
||||
pytest-sourceorder==0.6.0
|
||||
pytest
|
||||
pytest-sourceorder
|
||||
pytest-split>=0.8.0
|
||||
pytest-custom_exit_code>=0.3.0
|
||||
pytest-testinfra==6.8.0
|
||||
pytest-randomly==3.12.0
|
||||
pytest-testinfra
|
||||
pytest-randomly
|
||||
pyyaml>=3
|
||||
|
||||
Reference in New Issue
Block a user