mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-21 21:01:52 +00:00
platform specific test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1959 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
3d81638b8f
commit
6ddf286c36
1 changed files with 3 additions and 0 deletions
|
|
@ -330,6 +330,9 @@ class TestUrl (unittest.TestCase):
|
|||
self.assert_(not linkcheck.url.url_is_absolute(url), repr(url))
|
||||
|
||||
def test_nopathquote_chars (self):
|
||||
# XXX use platform resource
|
||||
if os.name != 'nt':
|
||||
return
|
||||
url = "file:///c|/msys/"
|
||||
nurl = url
|
||||
self.assertEqual(linkcheck.url.url_norm(url), nurl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue