def test_load_config_manager_empty(self):
     # FIXME: Passing empty env list breaks config write.
     mgr = EnvironmentsManager()
     mgr.load_config(self.path)
     assert mgr.env_config
Ejemplo n.º 2
0
 def test_load_config_manager_empty(self):
     mgr = EnvironmentsManager()
     mgr.load_config(self.path)
     assert mgr.env_config
 def test_load_config_manager(self):
     mgr = EnvironmentsManager()
     mgr.environments.add(Environment())
     mgr.load_config(self.path)
     assert mgr.env_config
Ejemplo n.º 4
0
 def test_load_config_manager(self):
     mgr = EnvironmentsManager()
     env = Environment()
     mgr.environments[env.get_id()] = env
     mgr.load_config(self.path)
     assert mgr.env_config