execute: how: tmt discover: how: shell dist-git-source: true tests: - name: bundled tests require: - python3.11-pytest - python3.11-pip # these are required by trustme - python3.11-cryptography - python3.11-pycparser - python3.11-cffi test: | pip-3.11 install pytest-mock==3.10.0 trustme==0.9.0 pytest-httpbin==1.0.2 && cd $(dirname $TMT_SOURCE_DIR/requests-*/tests) && rm -rf requests && # https://github.com/postmanlabs/httpbin/issues/673#issuecomment-1150816886 \ sed -i -e 's/ import BaseResponse/ import Response as BaseResponse/' /usr/local/lib/python*/site-packages/httpbin/core.py && pytest-3.11 -v -p no:warnings tests