mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-27 19:20:30 +00:00
more case tests
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1452 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
36db68852f
commit
7669ef1b6b
1 changed files with 3 additions and 0 deletions
|
|
@ -81,6 +81,9 @@ class TestUrl (unittest.TestCase):
|
|||
url = "http://EXAMPLE.COM/"
|
||||
nurl = "http://example.com/"
|
||||
self.assertEqual(linkcheck.url.url_norm(url), nurl)
|
||||
url = "http://EXAMPLE.COM:55/"
|
||||
nurl = "http://example.com:55/"
|
||||
self.assertEqual(linkcheck.url.url_norm(url), nurl)
|
||||
|
||||
def test_norm_defaultport (self):
|
||||
"""test url norm default port recognition"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue