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:
calvin 2005-02-07 00:07:50 +00:00
parent fcf18b8e1f
commit 4db7e58f84

View file

@ -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:"