linkchecker/tests/checker
Antoine Beaupré ab7502b6ff
make tests pass on IPv6 hosts
Without this patch, tests would fail on IPv6 hosts with this
mysterious error:

```
_______________________________________________________________________ TestHttpMisc.test_html ________________________________________________________________________
tests/checker/test_http_misc.py:30: in test_html
    self.obfuscate_test()
tests/checker/test_http_misc.py:51: in obfuscate_test
    url = u"http://%s/" % iputil.obfuscate_ip(ip)
linkcheck/network/iputil.py:290: in obfuscate_ip
    raise ValueError('Invalid IP value %r' % ip)
E   ValueError: Invalid IP value '2a02:2e0:3fe:1001:7777:772e:2:85'
```

As it turns out, the test host (`www.heise.de`) does have an IPv6
record and our tests pass on Travis only because they do not have a
working IPv6 stack. I happen to have IPv6 at home and tests are broken
here, so add a quick workaround so tests pass again.

Ideally, we would not have to deal with this hack and would handle
"obfuscation" correctly, but I have yet to figure out what that test
actually does before fixing it properly.
2018-04-11 19:42:30 -04:00
..
data test of correct logging of all parts in url_data 2018-01-14 17:17:07 +01:00
__init__.py test of correct logging of all parts in url_data 2018-01-14 17:17:07 +01:00
ftpserver.py Set for release. 2014-03-04 21:36:24 +01:00
httpserver.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
telnetserver.py remove third party packages and use them as dependency 2018-01-09 23:25:27 +01:00
test_all_parts.py test of correct logging of all parts in url_data 2018-01-14 17:17:07 +01:00
test_anchor.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
test_base.py Improve content type setting. 2014-03-05 20:12:19 +01:00
test_bookmarks.py Rename wrong module name. 2012-06-20 21:43:25 +02:00
test_error.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
test_file.py fix tests that fail because of changed linkchecker output 2017-02-14 10:59:38 +01:00
test_frames.py Updated FSF address in GPL blurb 2009-07-24 23:58:20 +02:00
test_ftp.py Do not check duplicate URLs. 2012-11-06 21:34:22 +01:00
test_http.py Crawl HTML attributes in deterministic order 2017-02-01 19:19:53 +02:00
test_http_misc.py make tests pass on IPv6 hosts 2018-04-11 19:42:30 -04:00
test_http_redirect.py fix tests that fail because of changed linkchecker output 2017-02-14 10:59:38 +01:00
test_http_robots.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
test_httpbin.py Parse Refresh: and Content-Location: header values for URLs. 2014-07-01 20:16:43 +02:00
test_https.py Mark TestHttps.test_https as known to fail 2017-02-01 18:44:21 +02:00
test_https_redirect.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
test_internpat.py Updated FSF address in GPL blurb 2009-07-24 23:58:20 +02:00
test_mail_bad.py Increase url-too-long warning. 2014-03-03 23:31:04 +01:00
test_mail_good.py Fix tests 2016-01-19 22:05:15 +01:00
test_misc.py Add test for itms-services URL. 2014-09-05 21:37:33 +02:00
test_news.py Fix assertion checking external links; fix tests 2014-03-10 18:23:44 +01:00
test_noproxy.py Updated copyright. 2012-11-07 18:07:00 +01:00
test_telnet.py Do not check duplicate URLs. 2012-11-06 21:34:22 +01:00
test_unknown.py Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
test_urllen.py Increase url-too-long warning. 2014-03-03 23:31:04 +01:00
test_whitespace.py Updated copyright 2014-01-08 22:33:04 +01:00