linkchecker/tests
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
..
cache add tests for urlqueue 2017-02-14 10:23:32 +01:00
checker make tests pass on IPv6 hosts 2018-04-11 19:42:30 -04:00
configuration Fix config test. 2014-07-15 22:31:19 +02:00
logger Set copyright. 2010-03-26 20:51:59 +01:00
__init__.py Python3: fix prints 2018-01-19 09:52:43 +01:00
cookies.txt Load cookies from the --cookiefile correctly 2018-03-16 13:23:26 +02:00
test_cgi.py Updated copyright. 2012-04-22 20:45:24 +02:00
test_clamav.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_console.py Add detailed locale info to internal error output. 2011-04-06 11:56:55 +02:00
test_containers.py Fix LFUCache: delete 5% of least frequently used entries on shrink, not 95%. 2011-12-08 22:10:53 +01:00
test_cookies.py Load cookies from the --cookiefile correctly 2018-03-16 13:23:26 +02:00
test_decorators.py Updated copyright year; fix nntp newsserver test 2010-03-05 12:49:54 +01:00
test_dummy.py Updated copyright. 2011-05-28 08:44:21 +02:00
test_filenames.py Set for release. 2014-03-04 21:36:24 +01:00
test_fileutil.py Move mime stuff into own submodule. 2014-05-10 21:22:10 +02:00
test_ftpparse.py Set copyright. 2010-03-26 20:51:59 +01:00
test_linkchecker.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_linkname.py Updated FSF address in GPL blurb 2009-07-24 23:58:20 +02:00
test_linkparser.py Do not strip quotes from resolved URLs. 2014-07-11 00:43:46 +02:00
test_mimeutil.py Move mime stuff into own submodule. 2014-05-10 21:22:10 +02:00
test_network.py Fix Travis CI build. 2014-03-11 19:56:36 +01:00
test_parser.py execude parser test by parametrized 2018-01-09 23:15:09 +01:00
test_po.py Python3: use file descriptors 2018-01-19 09:52:43 +01:00
test_robotparser.py Updated copyright. 2014-07-16 07:35:32 +02:00
test_robotstxt.py Set for release. 2014-03-04 21:36:24 +01:00
test_strformat.py Fix some tests 2014-03-02 07:45:04 +01:00
test_updater.py Updated copyright. 2014-07-16 07:35:32 +02:00
test_url.py Fix fragment identifier quoting 2017-11-10 08:03:03 -05:00
test_urlbuild.py Updated copyright and docs. 2014-03-14 22:09:05 +01:00