diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..a77f895 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..f4bd8ae --- /dev/null +++ b/plan.fmf @@ -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