Skip to content
Snippets Groups Projects
Commit 48d3da2c authored by Robert Latta's avatar Robert Latta
Browse files

updated test to cope with updated Infinera end point

parent e71fc095
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ INFINERA_LINK_METADATA = {
},
"additionalProperties": False
},
"geant-lambdas": {
"geant-lambda": {
"type": "object",
"properties": {
"id": {"type": "integer"},
......@@ -81,8 +81,8 @@ INFINERA_LINK_METADATA = {
"type": "array",
"items": {"$ref": "#/definitions/service-info"}
},
"geant-lambdas": {
"type": "array",
"geant-lambda": {
"type": "object",
"items": {"$ref": "#/definitions/geant-lambdas"}
},
},
......@@ -92,7 +92,8 @@ INFINERA_LINK_METADATA = {
def test_trap_metadata(client_with_mocked_data):
rv = client_with_mocked_data.get(
'/classifier/infinera-lambda-info/LON01-DTNX10-1/1-B-2-1-3',
'/classifier/infinera-lambda-info/'
'LON2-DTNX10-1/1-A-2-1-4/gen-lon3_LHC_CERN-JANET_09013',
headers=DEFAULT_REQUEST_HEADERS)
assert rv.status_code == 200
assert rv.is_json
......
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