mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-08 22:54:51 +00:00
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:
parent
b150ff6ea8
commit
b0d3c575ce
1 changed files with 3 additions and 0 deletions
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue