-
Notifications
You must be signed in to change notification settings - Fork 171
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
liquidation-crud-test #627
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.
Fix pylint issue
Please, sync with main branch @shamoo53 |
@shamoo53 fix please also pylint issue |
I will do that now |
Hi @djeck1432 fixed pylint issue |
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, do not remove my comments and answer on it
margin_app/app/tests/liquidation.py
Outdated
def commit(self): | ||
pass | ||
|
||
def query(self, model): |
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.
why do you need it? if you don't call it?
The commit method is required to simulate the transaction interface. Even though it performs no operation in tests, it allows our code to call commit() without errors, ensuring that our test environment mirrors the production interface where commit would actually execute a transaction commit. |
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
crud test completed