Use osci and tmt for gating
This commit is contained in:
parent
55219a0c74
commit
bc4b6cb79f
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@ -3,4 +3,4 @@ product_versions:
|
|||||||
- rhel-8
|
- rhel-8
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
- !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