mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-31 21:20:28 +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 |
||
|---|---|---|
| .. | ||
| cache | ||
| checker | ||
| configuration | ||
| logger | ||
| __init__.py | ||
| cookies.txt | ||
| test_cgi.py | ||
| test_clamav.py | ||
| test_console.py | ||
| test_containers.py | ||
| test_cookies.py | ||
| test_decorators.py | ||
| test_dummy.py | ||
| test_filenames.py | ||
| test_fileutil.py | ||
| test_ftpparse.py | ||
| test_linkchecker.py | ||
| test_linkname.py | ||
| test_linkparser.py | ||
| test_mimeutil.py | ||
| test_network.py | ||
| test_parser.py | ||
| test_po.py | ||
| test_robotparser.py | ||
| test_robotstxt.py | ||
| test_strformat.py | ||
| test_updater.py | ||
| test_url.py | ||
| test_urlbuild.py | ||