def test_config_builtin_presets(self): parser = get_configuration(getFilename(PRESETS_INI)) # in the built-in presets.ini, we don't want anything but presets: for section in parser.sections(): self.assertTrue(section.startswith("preset:"), "section starts with preset:")
def test_config_builtin_presets(self): parser = get_configuration(getFilename(PRESETS_INI)) # in the built-in presets.ini, we don't want anything but presets: for section in parser.sections(): self.assertTrue( section.startswith("preset:"), "section starts with preset:")
def test_get_configuration(self): parser = get_configuration(getFilename(PRESETS_INI)) # TODO: this is not a good test. Improve! self.assertFalse(parser.has_section("dyndnsc"))