From b0d3c575ce77664b87b9176fb0763256e35ea73b Mon Sep 17 00:00:00 2001 From: calvin Date: Sun, 14 Nov 2004 11:12:34 +0000 Subject: [PATCH] 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 --- linkcheck/tests/test_url.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linkcheck/tests/test_url.py b/linkcheck/tests/test_url.py index 3b8ad96f..e6b39743 100644 --- a/linkcheck/tests/test_url.py +++ b/linkcheck/tests/test_url.py @@ -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"""