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/plan.fmf b/plan.fmf new file mode 100644 index 0000000..60963e6 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,15 @@ +execute: + how: tmt +discover: + how: shell + dist-git-source: true + tests: + - name: bundled tests + require: + - platform-python + - python3-pytest + - python3-mock + - python3-urllib3 + test: | + cd $(dirname $TMT_SOURCE_DIR/urllib3-*/test) && + /usr/libexec/platform-python -m pytest -v diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 50f761b..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-source - tags: - - always - - - role: standard-test-basic - tags: - - atomic - - classic - required_packages: - - python3-pytest - - python3-mock - - tests: - - verify: - dir: ./source/test - run: /usr/libexec/platform-python -m pytest -v