Loading src/pathcomp/frontend/tests/test_unitary.py +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
src/pathcomp/frontend/tests/test_unitary.py +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading