enabled tests

epel8
Dan Radez 6 years ago
parent 1beba3e88a
commit c741848ef4

@ -53,6 +53,10 @@ Documentation for jaraco-classes
rm -rf %{pkg_name}.egg-info
# rename package to use a -
sed -i 's/%{pypi_name}/%{pkg_name}/' setup.cfg
# disable flake8 in the tests, need a newer version of pytest-flake8
# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2
# AttributeError: 'Application' object has no attribute 'make_notifier'
sed -i 's/ --flake8//' pytest.ini
%build
%py3_build
@ -67,10 +71,7 @@ rm -rf html/.{doctrees,buildinfo}
%py3_install
%check
# disabled for right now, need a newer version of pytest-flake8
# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2
# AttributeError: 'Application' object has no attribute 'make_notifier'
# LANG=C.utf-8 %%{__python3} -m pytest --ignore=build
LANG=C.utf-8 %{__python3} -m pytest --ignore=build
%files -n python3-%{pkg_name}
%license LICENSE

Loading…
Cancel
Save