Onboard package into gating
This commit is contained in:
parent
36529bc549
commit
f7a9cbe29f
|
@ -0,0 +1 @@
|
||||||
|
1
|
|
@ -0,0 +1,8 @@
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_contexts:
|
||||||
|
- bodhi_update_push_testing
|
||||||
|
- bodhi_update_push_stable
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
|
|
@ -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()
|
|
@ -0,0 +1,12 @@
|
||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: shell
|
||||||
|
tests:
|
||||||
|
- name: /smoke/import-python-module
|
||||||
|
test: |
|
||||||
|
python3 -c 'import importlib as il; print(il.import_module("lxml"))'
|
||||||
|
- name: /smoke/etree-fromstring
|
||||||
|
test: |
|
||||||
|
python3 plans/etree-fromstring.py
|
||||||
|
execute:
|
||||||
|
how: tmt
|
Loading…
Reference in New Issue