Replace setup.py test with %pytest
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/YOC5527SRKNY2XG6CMS3KNGJ54O7SMXI/ Resolves: RHEL-115363
This commit is contained in:
parent
d4b255ace0
commit
076a9d2847
@ -101,7 +101,8 @@ Python modules designed to facilitate SELinux policy analysis.
|
||||
|
||||
%check
|
||||
%if %{?_with_check:1}%{!?_with_check:0}
|
||||
%{__python3} setup.py test
|
||||
# dnf install python3-pytest python3-pytest-qt
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user