Add a test making sure the default config is valid.

See #438, #439, #440, #441.
This commit is contained in:
Florian Bruhin 2015-01-04 13:34:05 +01:00
parent 2203db298d
commit e0483363aa

View File

@ -131,5 +131,15 @@ class ConfigParserTests(unittest.TestCase):
self.cfg._from_cp(self.cp)
class DefaultConfigTests(unittest.TestCase):
"""Test validating of the default config."""
def test_default_config(self):
"""Test validating of the default config."""
conf = config.ConfigManager(None, None)
conf._validate_all()
if __name__ == '__main__':
unittest.main()