Fix and enable the tests
This commit is contained in:
parent
a2411e4fca
commit
c2582bfe32
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user