diff --git a/tests/modules/applications/optimization/MIS/test_MIS.py b/tests/modules/applications/optimization/MIS/test_MIS.py index 73ff6cb1..2230a96f 100644 --- a/tests/modules/applications/optimization/MIS/test_MIS.py +++ b/tests/modules/applications/optimization/MIS/test_MIS.py @@ -49,9 +49,9 @@ def test_process_solution(self): def test_validate(self): logging.disable(logging.WARNING) - self.mis_instance.application = nx.Graph() - self.mis_instance.application.add_nodes_from([0, 1, 2]) - self.mis_instance.application.add_edges_from([(0, 1), (1, 2)]) + self.mis_instance.graph = nx.Graph() + self.mis_instance.graph.add_nodes_from([0, 1, 2]) + self.mis_instance.graph.add_edges_from([(0, 1), (1, 2)]) valid_solution = [0, 2] is_valid, validation_time = self.mis_instance.validate(valid_solution)