Run tests with bytes warning

This commit is contained in:
Christian Heimes 2017-08-02 10:06:32 +02:00
parent 3617aabf99
commit 9df5e72a4f

View File

@ -6,7 +6,7 @@
Name: python-%{srcname}
Version: 0.4.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Implements JWK, JWS, JWE specifications using python-cryptography
License: LGPLv3+
@ -62,9 +62,9 @@ Implements JWK, JWS, JWE specifications using python-cryptography
%check
pytest-2 %{srcname}/test*.py
%{__python2} -bb -m pytest %{srcname}/test*.py
%if 0%{?with_python3}
pytest-3 %{srcname}/test*.py
%{__python3} -bb -m pytest %{srcname}/test*.py
%endif
@ -98,6 +98,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/tests{,-cookbook}.*
%changelog
* Wed Aug 02 2017 Christian Heimes <cheimes@redhat.com> - 0.4.2-3
- Run tests with bytes warning
* Tue Aug 01 2017 Christian Heimes <cheimes@redhat.com> - 0.4.2-2
- Modernize spec