Add test failures explanations, only deselect the 2

This commit is contained in:
Miro Hrončok 2018-12-16 01:16:04 +01:00
commit 4526c614ee

View file

@ -64,9 +64,10 @@ rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv
%check
# Default timezone to UTC otherwise unit tests fail.
export TZ=UTC
# FIXME(hguemar): two test cases fail, one of them being a false positive
# Needs more investigation for the other
%{__python3} -m pytest ||:
# TestBaseScheduler.test_create_trigger_bad_plugin_type does incorrect mocking
# TestIntervalTrigger.test_repr - changed timedelta repr in Python 3.7
# both fixed upstream
%{__python3} -m pytest -k "not (TestIntervalTrigger and test_repr) and not test_create_trigger_bad_plugin_type"
%files -n python3-%{pypi_name}
%license LICENSE.txt