Closed BerglundDaniel closed 8 months ago
The recent updates to the accounting module focus on enhancing traceability and test robustness. Logging now includes signer's member numbers during accounting exports. Test configurations now support an increased number of products, verifications, and transactions, with additional details for transaction accounts and cost centers. The tests ensure accurate handling of multiple verifications and transactions. Additionally, code redundancy in the create_verifications
function has been eliminated for cleaner execution.
File Path | Change Summary |
---|---|
.../accounting/export.py |
Updated to log signer's member number during accounting exports for improved traceability. |
.../accounting/test/export_test.py |
Tests updated for additional products, verifications, transactions, and assertions for exported data. |
.../accounting/test/sie_file_test.py |
No functional changes; the diff shows identical before and after, indicating no real change. |
.../accounting/test/verification_test.py |
Fixed typos, improved type hinting, and corrected function calls in verification tests. |
.../accounting/verification.py |
Removed redundant code and a TODO comment for a cleaner create_verifications function. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
create_verifications
function for efficiency.Tests