Add gating and simple test

Related: bz#1950291
This commit is contained in:
Lukas Zachar 2021-07-19 19:05:58 +02:00
parent b95e9ffc41
commit 333c717eaf
5 changed files with 21 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 smoke.py
framework: shell
require:
- python3
- python3-dateutil

5
tests/smoke.py Normal file
View File

@ -0,0 +1,5 @@
from dateutil.easter import easter
import datetime
correct = datetime.date(2021,4,4)
assert easter(2021) == correct