Add gating with tmt smoke test

Check very simple usage (basically just import works)

Related: bz#1950291
This commit is contained in:
Lukas Zachar 2021-07-19 16:44:56 +02:00
parent 26bb653d2b
commit 766ed6cb08
4 changed files with 16 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

6
gating.yaml Normal file
View File

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

4
plans.fmf Normal file
View File

@ -0,0 +1,4 @@
discover:
how: fmf
execute:
how: tmt

5
tests/smoke.fmf Normal file
View File

@ -0,0 +1,5 @@
test: python3 -c 'import pytz; assert str(pytz.utc.zone) == "UTC"'
framework: shell
require:
- python3-pytz
- python3