Skip to content

Conversation

@AlbertoCentonze
Copy link
Collaborator

@AlbertoCentonze AlbertoCentonze commented Dec 6, 2025

Updating unitary tests to respect our testing convention (will be clearly defined and enforced by #105).

  • test_admin_percentage.py and test_collect_fees.py got moved to the controller folder as there is no logic specific to the lending one anymore.
  • test_internal_collect_fees.py now actually tests stuff (was missing a sanity check and was testing absolutely nothing).
  • test_borrowed_balance_lc.py got renamed to test_available_balance.py to follow the new method name, also it doesn't need to test process as the variable doesn't exist anymore.
  • deleted test_borrow_more_lc.py and test_create_loan_lc.py as there is no lend controller specific code anymore.
  • test_set_admin_fee_lc.vpy required a trivial fix due to renaming.
  • test_preview_redeem_v.py/test_preview_withdraw_v.py now have only one branch to cover.
  • test_set_admin_fee_lc.py got a trivial renaming fix.

This is part 2 of 2 in a stack made with GitButler:

@AlbertoCentonze AlbertoCentonze force-pushed the simplify-ci branch 4 times, most recently from fa69587 to cfbb693 Compare December 7, 2025 22:18
@AlbertoCentonze AlbertoCentonze mentioned this pull request Dec 8, 2025
4 tasks
@AlbertoCentonze AlbertoCentonze marked this pull request as ready for review December 8, 2025 14:44
@AlbertoCentonze AlbertoCentonze force-pushed the unitary-tests-fix branch 2 times, most recently from 5dd6a35 to 5ff045d Compare December 8, 2025 14:48
@AlbertoCentonze AlbertoCentonze force-pushed the unitary-tests-fix branch 2 times, most recently from 4fec228 to 6d1426f Compare December 8, 2025 16:01
@AlbertoCentonze AlbertoCentonze force-pushed the simplify-ci branch 2 times, most recently from 0a856d0 to 00da527 Compare December 8, 2025 16:29
@AlbertoCentonze AlbertoCentonze merged commit fc62e28 into simplify-ci Dec 9, 2025
11 checks passed
@AlbertoCentonze AlbertoCentonze deleted the unitary-tests-fix branch December 9, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants