test: fix broken unitary tests #104
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updating unitary tests to respect our testing convention (will be clearly defined and enforced by #105).
test_admin_percentage.pyandtest_collect_fees.pygot moved to thecontrollerfolder as there is no logic specific to the lending one anymore.test_internal_collect_fees.pynow actually tests stuff (was missing a sanity check and was testing absolutely nothing).test_borrowed_balance_lc.pygot renamed totest_available_balance.pyto follow the new method name, also it doesn't need to testprocessas the variable doesn't exist anymore.test_borrow_more_lc.pyandtest_create_loan_lc.pyas there is no lend controller specific code anymore.test_set_admin_fee_lc.vpyrequired a trivial fix due to renaming.test_preview_redeem_v.py/test_preview_withdraw_v.pynow have only one branch to cover.test_set_admin_fee_lc.pygot a trivial renaming fix.This is part 2 of 2 in a stack made with GitButler: