test leading query exclam after host without path

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1982 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-11-14 11:12:34 +00:00
parent b150ff6ea8
commit b0d3c575ce

View file

@ -127,6 +127,9 @@ class TestUrl (unittest.TestCase):
url = "http://example.com"
nurl = "http://example.com/"
self.assertEqual(url_norm(url), nurl)
url = "http://example.com?a=b"
nurl = "http://example.com/?a=b"
self.assertEqual(url_norm(url), nurl)
def test_norm_path_backslashes (self):
"""test url norm backslash path handling"""