-
Notifications
You must be signed in to change notification settings - Fork 9
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
merge最新代码 #12
base: master
Are you sure you want to change the base?
merge最新代码 #12
Conversation
"casename": "Testcase 01_get_request", | ||
"pre_call": "echo 'This is called BEFORE cmdline call'", | ||
"post_call": "echo 'This is called AFTER cmdline call'", | ||
"stoponfail": "true", |
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.
please add description
to describe the case of the script
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.
please run python3 startmonster.py
to check the whether script works
#process = Popen(cmdline, stdout=PIPE, stderr=PIPE,shell=True) | ||
#time.sleep(1) | ||
#cmdlinel = f"cleos get account {newaccount}" | ||
#process = Popen(cmdlinel, stdout=PIPE, stderr=PIPE,shell=True) |
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.
unused code should be removed
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.
newaccount 这个功能要不要测试呢?如果生成无用的帐号没什么意义。
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.
测试一下,可以用一个公知的私钥创建
#reprod | ||
newaccount= params["newaccount"] | ||
bppubkey = params["bppubkey"] | ||
cmdline = f"cleos system regproducer {newaccount} {bppubkey} https://www.xxx.com 900" |
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.
xxx.com is what?
return True | ||
|
||
if __name__ == '__main__': | ||
sys.exit( 0 if main() else 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.
after you have finished your code, please run python3 startmonster.py
to check the script works well
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.
i used python3.6,because httpapi/ used python3.6
No description provided.