mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-21 06:41:00 +00:00
Some url lines were missing a url prefix while others had a double url prefix. diff was reporting more url lines as changed than actually had. Improve formatting by removing newlines from control lines and adding headings. Before: E AssertionError: http://localhost:46031/tests/checker/data/sitemap.xml E --- E E +++ E E @@ -1,4 +1,8 @@ E E -url http://localhost:46031/tests/checker/data/sitemap.xml E +http://www.example.com/ E +cache key http://www.example.com/ E +real url http://www.example.com/ E +valid E +url url http://localhost:46031/tests/checker/data/sitemap.xml E cache key http://localhost:46031/tests/checker/data/sitemap.xml E real url http://localhost:46031/tests/checker/data/sitemap.xml E valid After: E AssertionError: http://localhost:44021/tests/checker/data/sitemap.xml E --- expected E +++ result E @@ -2,3 +2,7 @@ E cache key http://localhost:44021/tests/checker/data/sitemap.xml E real url http://localhost:44021/tests/checker/data/sitemap.xml E valid E +url http://www.example.com/ E +cache key http://www.example.com/ E +real url http://www.example.com/ E +valid |
||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| ftpserver.py | ||
| httpserver.py | ||
| telnetserver.py | ||
| test_all_parts.py | ||
| test_anchor.py | ||
| test_base.py | ||
| test_bookmarks.py | ||
| test_error.py | ||
| test_file.py | ||
| test_frames.py | ||
| test_ftp.py | ||
| test_http.py | ||
| test_http_misc.py | ||
| test_http_redirect.py | ||
| test_http_robots.py | ||
| test_httpbin.py | ||
| test_https.py | ||
| test_https_redirect.py | ||
| test_internpat.py | ||
| test_mail_bad.py | ||
| test_mail_good.py | ||
| test_misc.py | ||
| test_news.py | ||
| test_noproxy.py | ||
| test_telnet.py | ||
| test_unknown.py | ||
| test_urllen.py | ||
| test_whitespace.py | ||