python3.11-iniconfig/plan.fmf
Lukas Zachar 3b7633f050 Fix tests
tmt currently can't apply %prep part of rpmbuild, need to do it manually

Resolves: rhbz#2159316
2023-02-01 11:45:45 +01:00

14 lines
297 B
Plaintext

execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.11-pytest
test: |
cd $(dirname $TMT_SOURCE_DIR/iniconfig-*/testing) &&
sed -i "s/py\.test/pytest/" testing/test_iniconfig.py &&
pytest-3.11 testing