fix unreachable url in test

This commit is contained in:
laokz 2024-04-01 12:12:07 +08:00 committed by laokz
parent cc96a15767
commit 786d1ebff3

View File

@ -2,7 +2,7 @@
Name: linkchecker
Version: 10.4.0
Release: 1
Release: 2
Summary: Check HTML documents for broken links
License: GPLv2
URL: https://linkcheck.github.io/linkchecker/
@ -46,6 +46,9 @@ support
%find_lang linkchecker
%check
# fix unreachable url
sed -i 's/google.com/bing.com/g' tests/test_robotparser.py
export PYTHONPATH=%{buildroot}%{python3_sitearch}
pytest --ignore=tests/checker/test_telnet.py
@ -62,6 +65,9 @@ pytest --ignore=tests/checker/test_telnet.py
%{_datadir}/linkchecker/
%changelog
* Mon Apr 1 2024 laokz <zhangkai@iscas.ac.cn> - 10.4.0-2
- Fix unreachable url in test
* Mon Feb 26 2024 liyanan <liyanan61@h-partners.com> - 10.4.0-1
- Upgrade to 10.4.0