Fix tests

tmt currently can't apply %prep part of rpmbuild, need to do it manually

Resolves: rhbz#2159316
This commit is contained in:
Lukas Zachar 2023-02-01 11:45:45 +01:00
parent eef5ee4d56
commit 3b7633f050

View File

@ -9,4 +9,5 @@ discover:
- 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