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