linkchecker/tests/checker
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
..
data Fix XmlTagUrlParser and make Python 3 compatible 2019-10-28 19:20:05 +00:00
__init__.py Improve test failure diff 2019-10-29 20:03:08 +00:00
ftpserver.py Get FtpServerTest working by updating to current pyftpdlib API 2019-04-22 19:34:46 +01:00
httpserver.py Enable https checking using a test server 2019-11-11 20:12:25 +00:00
telnetserver.py fixes for Python 3: fix telneturl 2019-09-15 19:49:18 +01:00
test_all_parts.py Make test_all_parts TestLogger import Python 3 compatible 2019-04-25 20:28:21 +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 enable and fix remaining bookmark tests 2019-09-16 20:08:01 +01: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 Python3: fix permission mask in test_file 2019-04-09 20:09:35 +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 Fix TypeError: string arg required in content_allows_robots() 2019-10-22 14:13:45 +03:00
test_http_misc.py Add a regression test for the sitemap parser 2019-10-23 17:30:10 +03:00
test_http_redirect.py Mark more tests that require the network 2019-01-01 22:37:21 +00: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 Mark more tests that require the network 2019-01-01 22:37:21 +00:00
test_https.py Fix TypeError when checking https link and test 2019-11-11 20:12:25 +00: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 fixes for Python 3: fix test_internpat and test_news 2019-04-09 20:09:35 +01: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 a regression test for issue #317 2019-10-21 17:45:18 +03:00
test_news.py Explain why these tests are being skipped 2019-10-23 17:35:31 +03:00
test_noproxy.py Python3: fix imports in test_noproxy 2019-04-12 20:27:09 +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 Mark more tests that require the network 2019-01-01 22:37:21 +00:00