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

Update test_unitary.py

parent 3caa09b8
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -1321,17 +1321,17 @@ def test_rest_get_service(context_service_rest : RestServer): # pylint: disable= ...@@ -1321,17 +1321,17 @@ def test_rest_get_service(context_service_rest : RestServer): # pylint: disable=
reply = do_rest_request('/context/{:s}/service/{:s}'.format(context_uuid, service_uuid)) reply = do_rest_request('/context/{:s}/service/{:s}'.format(context_uuid, service_uuid))
validate_service(reply) validate_service(reply)
def test_rest_get_slice_ids(context_slice_rest : RestServer): # pylint: disable=redefined-outer-name def test_rest_get_slice_ids(context_service_rest : RestServer): # pylint: disable=redefined-outer-name
context_uuid = urllib.parse.quote(DEFAULT_CONTEXT_UUID) context_uuid = urllib.parse.quote(DEFAULT_CONTEXT_UUID)
reply = do_rest_request('/context/{:s}/slice_ids'.format(context_uuid)) reply = do_rest_request('/context/{:s}/slice_ids'.format(context_uuid))
#validate_slice_ids(reply) #validate_slice_ids(reply)
def test_rest_get_slices(context_slice_rest : RestServer): # pylint: disable=redefined-outer-name def test_rest_get_slices(context_service_rest : RestServer): # pylint: disable=redefined-outer-name
context_uuid = urllib.parse.quote(DEFAULT_CONTEXT_UUID) context_uuid = urllib.parse.quote(DEFAULT_CONTEXT_UUID)
reply = do_rest_request('/context/{:s}/slices'.format(context_uuid)) reply = do_rest_request('/context/{:s}/slices'.format(context_uuid))
#validate_slices(reply) #validate_slices(reply)
#def test_rest_get_slice(context_slice_rest : RestServer): # pylint: disable=redefined-outer-name #def test_rest_get_slice(context_service_rest : RestServer): # pylint: disable=redefined-outer-name
# context_uuid = urllib.parse.quote(DEFAULT_CONTEXT_UUID) # context_uuid = urllib.parse.quote(DEFAULT_CONTEXT_UUID)
# slice_uuid = urllib.parse.quote(SLICE_R1_R2_UUID, safe='') # slice_uuid = urllib.parse.quote(SLICE_R1_R2_UUID, safe='')
# reply = do_rest_request('/context/{:s}/slice/{:s}'.format(context_uuid, slice_uuid)) # reply = do_rest_request('/context/{:s}/slice/{:s}'.format(context_uuid, slice_uuid))
......
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