Compare commits

...

No commits in common. "1c8c3c057f380dcea020ce313fde6e478b3dff43" and "580598cd60223084d1ab5aef03b28378339d8847" have entirely different histories.

8 changed files with 31 additions and 2 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/requests-v2.28.1.tar.gz
/requests-v2.28.1.tar.gz

View File

@ -1 +0,0 @@
9b366622e4d5f270f6a920a754f6b6ceeb211a47 SOURCES/requests-v2.28.1.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

21
plan.fmf Normal file
View File

@ -0,0 +1,21 @@
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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (requests-v2.28.1.tar.gz) = caed2d08340c79af9448eefaa1df796f9112a7c8da30b218d5f342326a9629d95928c0978b9600e4bd7f56a297ef41afb088af390738be431b91b8c7429e741b