Пример #1
0
 def test_load_without_remote_config(self):
     config = self.create_config()
     self.assertEquals(RemoteConfiguration.load(config), config)
Пример #2
0
 def test_validate_config(self):
     try:
         RemoteConfiguration.validate_config(self.create_config())
     except TypeError:
         self.fail()
Пример #3
0
 def test_validate_config(self):
     try:
         RemoteConfiguration.validate(self.create_config())
     except TypeError:
         self.fail()
Пример #4
0
 def test_load_without_remote_config(self):
     config = self.create_config()
     self.assertEquals(RemoteConfiguration.load(config), config)