Example #1
0
 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:")
Example #2
0
 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:")
Example #3
0
 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"))
Example #4
0
 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"))