!3 【轻量级 PR】:Use pytest-3 instead of pytest which is provided by python2-pytest

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-11-09 10:30:14 +00:00 committed by Gitee
commit 6106489d31

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-zake Name: python-zake
Version: 0.2.2 Version: 0.2.2
Release: 1 Release: 2
Summary: A python package that works to provide a nice set of testing utilities for the kazoo library. Summary: A python package that works to provide a nice set of testing utilities for the kazoo library.
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/yahoo/Zake URL: https://github.com/yahoo/Zake
@ -74,7 +74,7 @@ mv %{buildroot}/doclist.lst .
%check %check
# the following test case is incompatible with newer kazoo # the following test case is incompatible with newer kazoo
pytest -k 'not test_child_watch_no_create' pytest-3 -k 'not test_child_watch_no_create'
%files -n python3-zake -f filelist.lst %files -n python3-zake -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -83,5 +83,8 @@ pytest -k 'not test_child_watch_no_create'
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Nov 09 2021 huangtianhua <huangtianhua@huawei.com> - 0.2.2-2
- Use pytest-3 instead of pytest which is provided by python2-pytest
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 0.2.2-1 * Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 0.2.2-1
- Package Spec generate - Package Spec generate