Add tmt gating plan
Resolves: rhbz#2159317
This commit is contained in:
parent
1f4082d2ae
commit
08aaaade59
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
--- !Policy
|
||||
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
7
plans/etree-fromstring.py
Normal file
7
plans/etree-fromstring.py
Normal file
@ -0,0 +1,7 @@
|
||||
import lxml.etree as et
|
||||
s = '<foo><bar baz="xyzzy">a<![CDATA[b]]>c</bar></foo>'
|
||||
x = et.fromstring(s)
|
||||
t = x.find('bar').text
|
||||
print(t)
|
||||
if t != 'abc':
|
||||
raise Exception()
|
12
plans/smoke.fmf
Normal file
12
plans/smoke.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: shell
|
||||
tests:
|
||||
- name: /smoke/import-python-module
|
||||
test: |
|
||||
python3.11 -c 'import importlib as il; print(il.import_module("lxml"))'
|
||||
- name: /smoke/etree-fromstring
|
||||
test: |
|
||||
python3.11 plans/etree-fromstring.py
|
||||
execute:
|
||||
how: tmt
|
Loading…
Reference in New Issue
Block a user