!7 Fix pytest not found in check

From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-11-15 10:54:05 +00:00 committed by Gitee
commit ed24753de1

View File

@ -1,6 +1,6 @@
Name: tldr
Version: 1.2.1
Release: 1
Release: 2
Summary: Simplified and community-driven man pages
License: MIT
@ -40,7 +40,7 @@ rm -rf %{name}.egg-info
%py3_install
%check
pytest -k "not test_error_message"
%{__python3} -m pytest -k "not test_error_message"
%files
%license LICENSE.md
@ -51,5 +51,8 @@ pytest -k "not test_error_message"
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog
* Fri Sep 24 2021 baizhonggui <baizhonggui@huawei.com> - 1.2.1-2
- Fix compiled error: pytest command not found.
* Thu Jun 24 2021 wulei <wulei80@huawei.com> - 1.2.1-1
- Initial package.
- Initial package.