Add gating and simple test
Related: bz#1950291
This commit is contained in:
parent
b95e9ffc41
commit
333c717eaf
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
6
gating.yaml
Normal file
6
gating.yaml
Normal 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}
|
5
tests/smoke.fmf
Normal file
5
tests/smoke.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
test: python3 smoke.py
|
||||||
|
framework: shell
|
||||||
|
require:
|
||||||
|
- python3
|
||||||
|
- python3-dateutil
|
5
tests/smoke.py
Normal file
5
tests/smoke.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from dateutil.easter import easter
|
||||||
|
import datetime
|
||||||
|
|
||||||
|
correct = datetime.date(2021,4,4)
|
||||||
|
assert easter(2021) == correct
|
Loading…
Reference in New Issue
Block a user