From 75f4bfb9110132750bbdcfd6eee17e8ec4f000fb Mon Sep 17 00:00:00 2001 From: Lluis Gifre <lluis.gifre@cttc.es> Date: Sun, 11 Sep 2022 10:56:42 +0200 Subject: [PATCH] PathComp-Frontend component: - correct unitary test constraints for SP algorithm --- src/pathcomp/frontend/tests/test_unitary.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pathcomp/frontend/tests/test_unitary.py b/src/pathcomp/frontend/tests/test_unitary.py index e21fe8209..2368a6c0a 100644 --- a/src/pathcomp/frontend/tests/test_unitary.py +++ b/src/pathcomp/frontend/tests/test_unitary.py @@ -84,10 +84,10 @@ def test_request_service_shortestpath( pathcomp_client : PathCompClient): # pylint: disable=redefined-outer-name request_services = copy.deepcopy(SERVICES) - request_services[0]['service_constraints'] = [ - json_constraint('bandwidth[gbps]', 1000.0), - json_constraint('latency[ms]', 1200.0), - ] + #request_services[0]['service_constraints'] = [ + # json_constraint('bandwidth[gbps]', 1000.0), + # json_constraint('latency[ms]', 1200.0), + #] pathcomp_request = PathCompRequest(services=request_services) pathcomp_request.shortest_path.Clear() # hack to select the shortest path algorithm that has no attributes -- GitLab