Esempio n. 1
0
 def test_config_router_auto(self):
     """
     Tests the router auto config
     :return: Tests results
     """
     data = ConfigManager.get_router_auto_list()
     self.assertEqual(len(data), 1, "test_Yaml: Wrong size of the List")
Esempio n. 2
0
 def test_config_router_auto(self):
     """
     Tests the router auto config
     :return: Tests results
     """
     data = ConfigManager.get_router_auto_list()
     self.assertEqual(len(data), 1, "test_Yaml: Wrong size of the List")
Esempio n. 3
0
 def __load_configuration(cls) -> None:
     # (re)load the configuration only then no tests are running
     assert len(cls._runningTests) == 0
     cls._routers = ConfigManager.get_router_auto_list()
     assert len(cls._routers) != 0
     assert len(cls._reports) == 0
Esempio n. 4
0
 def __load_configuration(cls) -> None:
     # (re)load the configuration only then no tests are running
     assert len(cls._runningTests) == 0
     cls._routers = ConfigManager.get_router_auto_list()
     assert len(cls._routers) != 0
     assert len(cls._reports) == 0