-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: Missing integration tests for interchain accounts #733
Problem: Missing integration tests for interchain accounts #733
Conversation
Solution: Added integration tests
Codecov Report
@@ Coverage Diff @@
## master #733 +/- ##
==========================================
- Coverage 21.03% 18.41% -2.62%
==========================================
Files 89 89
Lines 10226 10050 -176
==========================================
- Hits 2151 1851 -300
- Misses 7599 7762 +163
+ Partials 476 437 -39
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -0,0 +1,153 @@ | |||
import json | |||
import subprocess |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blacklist: Consider possible security implications associated with the subprocess module.
(at-me in a reply with help
or ignore
)
integration_tests/test_ica.py
Outdated
rsp = json.loads(subprocess.check_output(relayer + ["query", "connections", "ica-controller-1"])) | ||
controller_connection = rsp["result"][0] | ||
|
||
rsp = json.loads(subprocess.check_output(relayer + ["query", "connections", "ica-host-1"])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subprocess_without_shell_equals_true: subprocess call - check for execution of untrusted input.
(at-me in a reply with help
or ignore
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Solution: Added integration tests