def test_clear_stacks(self): for v in self.topo.nodes_iter(): fnss.add_stack(self.topo, v, self.stack_1_name, self.stack_1_props) fnss.clear_stacks(self.topo) for v in self.topo.nodes_iter(): self.assertIsNone(fnss.get_stack(self.topo, v))
def test_clear_stacks(self): for v in self.topo.nodes(): fnss.add_stack(self.topo, v, self.stack_1_name, self.stack_1_props) fnss.clear_stacks(self.topo) for v in self.topo.nodes(): self.assertIsNone(fnss.get_stack(self.topo, v))
def tearDown(self): fnss.clear_stacks(self.topo) fnss.clear_applications(self.topo)