Exclude test_dates from check as it requires freezegun

Resolves: rhbz#1955615
This commit is contained in:
Charalampos Stratakis 2021-05-25 16:56:38 +02:00
parent 7fad07dfcd
commit a7ca332c31

View File

@ -96,8 +96,8 @@ rm -f "$BUILDDIR/html/.buildinfo"
%check
export TZ=UTC
%if !%{with bootstrap}
# tests/messages/test_frontend.py requires freezegun
%{__python3} -m pytest --ignore tests/messages/test_frontend.py
# tests/messages/test_frontend.py and tests/test_dates require freezegun
%{__python3} -m pytest --ignore tests/messages/test_frontend.py --ignore tests/test_dates.py
%endif
%files