Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Robert Verkerk
B2SAFE Core
Commits
e7cfacb4
Commit
e7cfacb4
authored
Nov 12, 2018
by
Robert Verkerk
Browse files
Make sure epic2inttest works with case insensitive handle servers.
parent
2b71746f
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/tests/testB2SafeCmd/epic2intgtest.py
View file @
e7cfacb4
...
...
@@ -106,7 +106,7 @@ class EpicClient2IntegrationTests(unittest.TestCase):
search_result
=
subprocess_popen
(
command
)
search_result_json
=
json
.
loads
(
search_result
[
0
])
self
.
assertEqual
(
create_result
[
0
],
search_result_json
[
0
],
unicode
(
create_result
[
0
]
).
lower
()
,
search_result_json
[
0
]
.
lower
()
,
'search existing handle by key returns unexpected response'
)
...
...
@@ -168,7 +168,7 @@ class EpicClient2IntegrationTests(unittest.TestCase):
command
=
[
EPIC_PATH
,
CRED_STORE
,
CRED_PATH
,
'search'
,
'URL'
,
'http://www.testB2SafeCmd.com/1'
]
search_result
=
subprocess_popen
(
command
)
search_result_json
=
json
.
loads
(
search_result
[
0
])
self
.
assertEqual
(
create_result
[
0
],
search_result_json
[
0
],
self
.
assertEqual
(
unicode
(
create_result
[
0
]
).
lower
()
,
search_result_json
[
0
]
.
lower
()
,
'create handle should add new handle'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment