Chris Mayo
4b06485a05
Fix FTP checker
...
In Python 2 StringIO could accept either Unicode or 8-bit strings.
Similar change made for HttpUrl:
06fdd78f9 ("Python3: fix TypeError in HttpUrl.read_content()",
2019-09-15)
Non-existent FtpUrl.max_size introduced in:
7b34be590 ("Introduce check plugins, use Python requests for http/s
connections, and some code cleanups and improvements.", 2014-03-01)
Additional self.direct() not added in:
f107092a8 ("Fix handling of user/password info in URLs.", 2012-06-10)
2023-04-17 19:24:22 +01:00
Chris Mayo
1fcc0e2b4c
Add FTP tests for listing and download
2023-04-17 19:24:22 +01:00
Chris Mayo
165c51aeea
Run black on tests/
2020-05-28 20:29:13 +01:00
Chris Mayo
a15a2833ca
Remove spaces after names in class method definitions
...
And also nested functions.
This is a PEP 8 convention, E211.
2020-05-16 20:19:42 +01:00
Chris Mayo
fc11d08968
Remove spaces after names in class definitions
2020-05-16 20:19:42 +01:00
Chris Mayo
736c893707
Merge pull request #377 from cjmayo/tidyten3
...
Remove u string prefixes
2020-05-13 19:36:54 +01:00
Chris Mayo
b0ea72e8c1
Remove # -*- coding: lines
...
Except for tests that include non-unicode characters:
tests/test_po.py
tests/test_strformat.py
tests/test_url.py
tests/checker/test_error.py
tests/checker/test_news.py
2020-05-08 10:45:31 +01:00
Chris Mayo
4d3e5abcfa
Remove u string prefixes
2020-04-30 20:11:59 +01:00
Bastian Kleineidam
eabaa41bd2
Do not check duplicate URLs.
2012-11-06 21:34:22 +01:00
Bastian Kleineidam
564ae6479f
Fix tests.
2012-08-13 18:01:59 +02:00
Bastian Kleineidam
f107092a8a
Fix handling of user/password info in URLs.
2012-06-10 22:07:42 +02:00
Bastian Kleineidam
0f92b76290
Remove the unnormed URL warning.
2010-07-29 20:20:59 +02:00
Bastian Kleineidam
18230a755d
Fix FTP test result with three leading slashes before hostname.
2010-03-09 08:14:30 +01:00
Bastian Kleineidam
0af3cece1b
Added check for pyftpdlib when running FTP test.
2010-03-09 07:49:43 +01:00
Bastian Kleineidam
cc0c79dd90
Use local FTP testserver.
2010-03-09 07:42:56 +01:00
Bastian Kleineidam
563b057a4d
Updated copyright year; fix nntp newsserver test
2010-03-05 12:49:54 +01:00
Bastian Kleineidam
9a280607e0
Use decorators for test resources
2010-02-22 08:02:19 +01:00
Bastian Kleineidam
5e06b6b8d4
Updated FSF address in GPL blurb
2009-07-24 23:58:20 +02:00
Bastian Kleineidam
bbcfa3533b
Turn test doc strings into comments so they get not printed when running the tests.
2009-06-26 07:20:21 +02:00
Bastian Kleineidam
14be26a16f
Added skip messages
2009-03-09 07:43:13 +01:00
calvin
1f803fd80c
Run tests with nosetests
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3941 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2009-01-28 23:12:03 +00:00
calvin
e9805dbd8a
Updated copyright year to 2009
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3887 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2009-01-08 14:18:03 +00:00
calvin
9352dbf5e4
Move test files to separate module
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3763 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2008-05-20 17:01:16 +00:00