Ejemplo n.º 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:")
Ejemplo n.º 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:")
Ejemplo n.º 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"))
Ejemplo n.º 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"))