Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
55ee19c0
Commit
55ee19c0
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Update test_unitary.py
parent
3caa09b8
No related branches found
No related tags found
1 merge request
!54
Release 2.0.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/context/tests/test_unitary.py
+3
-3
3 additions, 3 deletions
src/context/tests/test_unitary.py
with
3 additions
and
3 deletions
src/context/tests/test_unitary.py
+
3
−
3
View file @
55ee19c0
...
@@ -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_s
l
ice_rest
:
RestServer
):
# pylint: disable=redefined-outer-name
def
test_rest_get_slice_ids
(
context_s
erv
ice_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_s
l
ice_rest
:
RestServer
):
# pylint: disable=redefined-outer-name
def
test_rest_get_slices
(
context_s
erv
ice_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_s
l
ice_rest : RestServer): # pylint: disable=redefined-outer-name
#def test_rest_get_slice(context_s
erv
ice_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))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment