python3.12-requests/plan.fmf
2024-01-17 15:04:31 +01:00

21 lines
572 B
Plaintext

execute:
how: tmt
discover:
how: shell
dist-git-source: true
tests:
- name: bundled tests
require:
- python3.12-pytest
- python3.12-pip
# these are required by trustme
- python3.12-cryptography
- python3.12-pycparser
- python3.12-cffi
test: |
pip-3.12 install pytest-mock==3.10.0 trustme==0.9.0 werkzeug==2.3.8 \
httpbin==0.10.1 pytest-httpbin==2.0.0 &&
cd $(dirname $TMT_SOURCE_DIR/requests-*/tests) &&
rm -rf requests &&
pytest-3.12 -v -p no:warnings tests -k "not test_use_proxy_from_environment"