!5 【轻量级 PR】:Use pytest-3 instead for unit test

From: @xiyuanwang
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-11-15 11:22:51 +00:00 committed by Gitee
commit feb7a3434f

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-tabulate Name: python-tabulate
Version: 0.8.9 Version: 0.8.9
Release: 1 Release: 2
Summary: Pretty-print tabular data Summary: Pretty-print tabular data
License: MIT License: MIT
URL: https://github.com/astanin/python-tabulate URL: https://github.com/astanin/python-tabulate
@ -93,7 +93,7 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check %check
PYTHONPATH=. pytest PYTHONPATH=. pytest-3
%files -n python3-tabulate -f filelist.lst %files -n python3-tabulate -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -102,6 +102,9 @@ PYTHONPATH=. pytest
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Nov 15 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 0.8.9-2
- Use pytest-3 instead for unit test.
* Tue Aug 03 2021 OpenStack_SIG <openstack@openeuler.org> - 0.8.9-1 * Tue Aug 03 2021 OpenStack_SIG <openstack@openeuler.org> - 0.8.9-1
- Upgrade to version 0.8.9 - Upgrade to version 0.8.9