Add gating test for python-wcwidth
Related: RHEL-59856 Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
be7691673c
commit
32885cfd1c
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-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
10
plans/unit.fmf
Normal file
10
plans/unit.fmf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
summary: wcwidth smoke test
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
- name: Install packages
|
||||||
|
how: install
|
||||||
|
package: python3-wcwidth
|
||||||
|
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
script: python3 -c 'from wcwidth import wcswidth; exit(0) if wcswidth("漢字") == 4 else exit(1)'
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.2.6
|
Version: 0.2.6
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Measures number of Terminal column cells of wide-character codes
|
Summary: Measures number of Terminal column cells of wide-character codes
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -52,6 +52,10 @@ printable width of a string on a Terminal.
|
|||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 25 2024 Bryan Gurney <bgurney@redhat.com> - 0.2.6-5
|
||||||
|
- Add gating test
|
||||||
|
- Resolves: RHEL-59856
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.6-4
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.6-4
|
||||||
- Bump release for June 2024 mass rebuild
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user