-
Notifications
You must be signed in to change notification settings - Fork 24
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
[WIP]Test scripts for check_stop_trading_abci #307
base: develop
Are you sure you want to change the base?
[WIP]Test scripts for check_stop_trading_abci #307
Conversation
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.
The behaviours code is not covered. Please check the pytest's cov report and update accordingly:
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------------------------------------
packages/valory/skills/check_stop_trading_abci/__init__.py 2 0 100%
packages/valory/skills/check_stop_trading_abci/behaviours.py 86 50 42% 60, 65, 69-77, 91-136, 147-158, 162-170
# Execute the generator and retrieve the final return value | ||
staking_kpi_met_gen = behaviour.is_staking_kpi_met() |
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.
The generator is never iterated upon.
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.
Okay i will try to improve the scripts.
This branch is dedicated to writing and refining test scripts for the check_stop_trading_abci function.