Skip to content
Snippets Groups Projects
Commit 56329ba9 authored by Erik Reid's avatar Erik Reid
Browse files

temp comment some code until new test data is built

parent db1436b3
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import jsonschema
import pytest
from inventory_provider.routes.msr import PEERING_LIST_SCHEMA, \
PEERING_GROUP_LIST_SCHEMA, ACCESS_SERVICES_LIST_SCHEMA
PEERING_GROUP_LIST_SCHEMA
DEFAULT_REQUEST_HEADERS = {
"Content-type": "application/json",
......@@ -12,20 +12,20 @@ DEFAULT_REQUEST_HEADERS = {
}
@pytest.mark.skip(reason='tmp disabled while changing schema')
def test_access_services(client):
# todo - fix once IMS msr code is done
rv = client.get(
'/msr/access-services',
headers=DEFAULT_REQUEST_HEADERS)
assert rv.status_code == 200
assert rv.is_json
response_data = json.loads(rv.data.decode('utf-8'))
jsonschema.validate(response_data, ACCESS_SERVICES_LIST_SCHEMA)
assert response_data # test data is non-empty
# @pytest.mark.skip(reason='tmp disabled while changing schema')
# def test_access_services(client):
#
# # todo - fix once IMS msr code is done
#
# rv = client.get(
# '/msr/access-services',
# headers=DEFAULT_REQUEST_HEADERS)
# assert rv.status_code == 200
# assert rv.is_json
# response_data = json.loads(rv.data.decode('utf-8'))
# jsonschema.validate(response_data, ACCESS_SERVICES_LIST_SCHEMA)
#
# assert response_data # test data is non-empty
def test_logical_system_peerings_all(client):
......
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