Loading src/tests/test_mapper.py +1 −1 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ class TestMapper: result = mapper(sample_ietf_intent) assert result == ([sample_ietf_intent], {"path": "node1->node2->node3"}) mock_planner_instance.planner.assert_called_once_with(sample_ietf_intent, "ENERGY") mock_planner_instance.planner.assert_called_once_with(sample_ietf_intent, "ENERGY", is_update=False) @patch('src.mapper.main.realizer') def test_mapper_with_nrp_enabled_finds_best_nrp(self, mock_realizer, app_context, sample_ietf_intent, sample_nrp_view): Loading Loading
src/tests/test_mapper.py +1 −1 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ class TestMapper: result = mapper(sample_ietf_intent) assert result == ([sample_ietf_intent], {"path": "node1->node2->node3"}) mock_planner_instance.planner.assert_called_once_with(sample_ietf_intent, "ENERGY") mock_planner_instance.planner.assert_called_once_with(sample_ietf_intent, "ENERGY", is_update=False) @patch('src.mapper.main.realizer') def test_mapper_with_nrp_enabled_finds_best_nrp(self, mock_realizer, app_context, sample_ietf_intent, sample_nrp_view): Loading