Loading src/tests/ofc22/tests/test_functional_create_service.py +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ def test_service_creation(context_client : ContextClient, osm_wim : MockOSM): # # Ensure slices and services are created response = context_client.ListSlices(ADMIN_CONTEXT_ID) LOGGER.info('Slices[{:d}] = {:s}'.format(len(response.slices), grpc_message_to_json_string(response))) assert len(response.slices) == 1 # OSM slice assert len(response.slices) == 0 # no slice should be created response = context_client.ListServices(ADMIN_CONTEXT_ID) LOGGER.info('Services[{:d}] = {:s}'.format(len(response.services), grpc_message_to_json_string(response))) Loading src/tests/ofc22/tests/test_functional_delete_service.py +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ def test_service_removal(context_client : ContextClient, osm_wim : MockOSM): # p # Ensure slices and services are created response = context_client.ListSlices(ADMIN_CONTEXT_ID) LOGGER.info('Slices[{:d}] = {:s}'.format(len(response.slices), grpc_message_to_json_string(response))) assert len(response.slices) == 1 # OSM slice assert len(response.slices) == 0 # no slice should be created response = context_client.ListServices(ADMIN_CONTEXT_ID) LOGGER.info('Services[{:d}] = {:s}'.format(len(response.services), grpc_message_to_json_string(response))) Loading Loading
src/tests/ofc22/tests/test_functional_create_service.py +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ def test_service_creation(context_client : ContextClient, osm_wim : MockOSM): # # Ensure slices and services are created response = context_client.ListSlices(ADMIN_CONTEXT_ID) LOGGER.info('Slices[{:d}] = {:s}'.format(len(response.slices), grpc_message_to_json_string(response))) assert len(response.slices) == 1 # OSM slice assert len(response.slices) == 0 # no slice should be created response = context_client.ListServices(ADMIN_CONTEXT_ID) LOGGER.info('Services[{:d}] = {:s}'.format(len(response.services), grpc_message_to_json_string(response))) Loading
src/tests/ofc22/tests/test_functional_delete_service.py +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ def test_service_removal(context_client : ContextClient, osm_wim : MockOSM): # p # Ensure slices and services are created response = context_client.ListSlices(ADMIN_CONTEXT_ID) LOGGER.info('Slices[{:d}] = {:s}'.format(len(response.slices), grpc_message_to_json_string(response))) assert len(response.slices) == 1 # OSM slice assert len(response.slices) == 0 # no slice should be created response = context_client.ListServices(ADMIN_CONTEXT_ID) LOGGER.info('Services[{:d}] = {:s}'.format(len(response.services), grpc_message_to_json_string(response))) Loading