mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-25 16:44:43 +00:00
added no quote test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2281 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
fcf18b8e1f
commit
4db7e58f84
1 changed files with 2 additions and 0 deletions
|
|
@ -384,6 +384,8 @@ class TestUrl (unittest.TestCase):
|
|||
self.assert_(linkcheck.url.url_needs_quoting(url), repr(url))
|
||||
url = "\nhttp://www.imadoofus.com/"
|
||||
self.assert_(linkcheck.url.url_needs_quoting(url), repr(url))
|
||||
url = "http://www.imadoofus.com/#a!"
|
||||
self.assert_(not linkcheck.url.url_needs_quoting(url), repr(url))
|
||||
|
||||
def test_absolute_url (self):
|
||||
url = "hutzli:"
|
||||
|
|
|
|||
Loading…
Reference in a new issue