Add gating with tmt smoke test
Check very simple usage (basically just import works) Related: RHEL-677
This commit is contained in:
parent
8eac9ee276
commit
28a2bb51de
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-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -13,7 +13,7 @@
|
||||
|
||||
Name: pytz
|
||||
Version: 2017.2
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: World Timezone Definitions for Python
|
||||
|
||||
Group: Development/Languages
|
||||
@ -138,6 +138,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 13 2023 Lumír Balhar <lbalhar@redhat.com> - 2017.2-11
|
||||
- Bump to add gating
|
||||
Related: RHEL-677
|
||||
|
||||
* Tue Jun 27 2023 Lumír Balhar <lbalhar@redhat.com> - 2017.2-10
|
||||
- Fix FTBFS with newest tzdata
|
||||
Resolves: RHEL-677
|
||||
|
5
tests/smoke.fmf
Normal file
5
tests/smoke.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
test: python3 -c 'import pytz; assert str(pytz.utc.zone) == "UTC"'
|
||||
framework: shell
|
||||
require:
|
||||
- python3-pytz
|
||||
- python3
|
Loading…
Reference in New Issue
Block a user