def test_should_create_instance_of_YadtConfigParser(self):
        parser = YadtConfigParser()

        name_of_type = parser._parser.__class__.__name__
        self.assertEqual('SafeConfigParser', name_of_type)
Exemplo n.º 2
0
 def __init__(self):
     """
         Creates instance of YadtConfigParser which will be used to parse
         the configuration file.
     """
     self._parser = YadtConfigParser()