linkchecker/tests
Chris Mayo ecd06776ab Fix TypeError when checking https link and test
File "/usr/lib/python3.7/site-packages/linkcheck/httputil.py", line 68, in asn1_generaltime_to_seconds
    line: res = datetime.strptime(timestr, timeformat + 'Z')
    locals:
      res = <local> None
      datetime = <global> <class 'datetime.datetime'>
      datetime.strptime = <global> <built-in method strptime of type object at 0x7fa39064dda0>
      timestr = <local> b'20191106202117Z'
      timeformat = <local> '%Y%m%d%H%M%S'
TypeError: strptime() argument 1 must be str, not bytes

pyOpenSSL OpenSSL.crypto.X509.get_notAfter() returns bytes:
https://www.pyopenssl.org/en/stable/api/crypto.html#OpenSSL.crypto.X509.get_notAfter
2019-11-11 20:12:25 +00:00
..
cache add tests for urlqueue 2017-02-14 10:23:32 +01:00
checker Fix TypeError when checking https link and test 2019-11-11 20:12:25 +00:00
configuration Import str as str_text from builtins when supporting transition 2019-04-19 19:25:50 +01:00
logger Set copyright. 2010-03-26 20:51:59 +01:00
__init__.py Python3: fix tests init - exceptions and string 2019-04-25 19:35:09 +01:00
cookies.txt Load cookies from the --cookiefile correctly 2018-03-16 13:23:26 +02:00
test_cgi.py fixes for Python 3 + Travis test: fix cgi 2019-09-13 19:46:13 +01:00
test_clamav.py Python 3: fix bytes vs strings in viruscheck plugin 2019-10-25 14:24:07 +03:00
test_console.py Add detailed locale info to internal error output. 2011-04-06 11:56:55 +02:00
test_containers.py Python3: replace xrange 2019-04-13 20:38:58 +01:00
test_cookies.py Update references to GitHub project from wummel to linkchecker 2019-04-18 19:59:52 +01:00
test_decorators.py Python3: fix logging 2019-04-14 18:59:50 +01:00
test_dummy.py Fix mistakes in changes to test_dummy.py and test_updater.py in 8f4acc31 2019-04-19 19:22:38 +01: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 Remove unused code from network subpackage 2019-10-19 10:27:34 +01:00
test_parser.py Python3: use BytesIO instead of StringIO 2019-04-09 20:09:35 +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 Make TestRobotsTxt Python 3.7 compatible 2019-04-22 19:50:32 +01:00
test_strformat.py Python3: mark bytes explicitly 2019-04-09 20:09:35 +01:00
test_updater.py Fix mistakes in changes to test_dummy.py and test_updater.py in 8f4acc31 2019-04-19 19:22:38 +01: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