Skip to content
Snippets Groups Projects
Commit 75f4bfb9 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp-Frontend component:

- correct unitary test constraints for SP algorithm
parent c5dd2aa6
No related branches found
No related tags found
1 merge request!54Release 2.0.0
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment