mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-29 02:24:43 +00:00
Fix config test.
This commit is contained in:
parent
29193bbcc9
commit
e24ba214da
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ class TestConfig (unittest.TestCase):
|
|||
config = linkcheck.configuration.Configuration()
|
||||
files = [get_file("config0.ini")]
|
||||
config.read(files)
|
||||
config.sanitize()
|
||||
# checking section
|
||||
for scheme in ("http", "https", "ftp"):
|
||||
self.assertTrue(scheme in config["allowedschemes"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue