Exemple #1
0
 def test_config_parse_load_some_config_object(self):
     config = ConfigurationFile.parse({'config': '/etc/my-rehab.yml', 'data': '/var/my-rehab.yml'})
     tools.assert_is_instance(config, ConfigurationFile)
     tools.assert_equals('/etc/my-rehab.yml', config.config_file)
     tools.assert_equals('/var/my-rehab.yml', config.data_file)