def testHasNotConfig(self):
     ConfigManager.configrations = {}
     rv = ConfigManager.hasConfig()
     self.assertEqual(rv, False)
Exemple #2
0
 def testHasNotConfig(self):
     ConfigManager.configrations = {}
     rv = ConfigManager.hasConfig()
     self.assertEqual(rv, False)
 def testHasConfig(self):
     config = Config()
     ConfigManager.addConfig(config)
     rv = ConfigManager.hasConfig()
     self.assertEqual(rv, True)
Exemple #4
0
 def testHasConfig(self):
     config = Config()
     ConfigManager.addConfig(config)
     rv = ConfigManager.hasConfig()
     self.assertEqual(rv, True)