Add work-arounds for tests which are broken in mock

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-10-28 10:06:42 -04:00
parent c0a337cedf
commit 4ff5212697
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ ln -vsf %{_jsdir}/jquery/latest/jquery.min.js %{buildroot}%{_pkgdocdir}/html/_st
cp -p README.md NEWS %{buildroot}%{_pkgdocdir}/
%check
# if the socket is not there, skip doc tests
test -f /run/systemd/journal/stdout || \
sed -i 's/--doctest[^ ]*//g' pytest.ini
make PYTHON=%{__python2} check || :
make PYTHON=%{__python3} check || :