mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 13:14:46 +00:00
Added directory listing test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3866 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
722273e184
commit
2758de9757
1 changed files with 4 additions and 0 deletions
|
|
@ -66,6 +66,10 @@ class TestFile (LinkCheckTest):
|
|||
"""Test Opera bookmark file parsing."""
|
||||
self.file_test("opera6.adr")
|
||||
|
||||
def test_directory_listing (self):
|
||||
"""Test directory listing code."""
|
||||
self.file_test("")
|
||||
|
||||
def test_good_file (self):
|
||||
url = u"file://%(curdir)s/%(datadir)s/file.txt" % self.get_attrs()
|
||||
nurl = self.norm(url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue