Fix and enable the tests

This commit is contained in:
Fabio Alessandro Locati 2016-01-07 12:30:08 +01:00
parent a2411e4fca
commit c2582bfe32

View File

@ -104,11 +104,12 @@ It has lots of other features though:
%py2_install
%check
# Disable tests since they are failing (see https://github.com/DiffSK/configobj/issues/100)
# this needs to be set for tests.test_configobj.test_options_deprecation
export PYTHONWARNINGS=always
%{__python2} test_configobj.py
#py.test-%{python2_version} tests
py.test-%{python2_version} tests
%{__python3} test_configobj.py
#py.test-%{python3_version} tests
py.test-%{python3_version} tests
%files -n python2-%{pypi_name}
%{!?_licensedir:%global license %doc}