Skip to content

Add Pool data models with comprehensive test coverage#3

Merged
inntran merged 2 commits into
developfrom
feature/add-pool-models
Nov 6, 2025
Merged

Add Pool data models with comprehensive test coverage#3
inntran merged 2 commits into
developfrom
feature/add-pool-models

Conversation

@inntran
Copy link
Copy Markdown
Owner

@inntran inntran commented Nov 6, 2025

  • Add OtherAsset model with DateLastEvaluated date parsing
  • Add OtherLiability model with MaturityDate and PaymentNextDue parsing
  • Add Pool model with nested objects and multiple date field support
  • Add PoolResponse wrapper for single pool API responses
  • Add PoolsResponse wrapper handling both list and single pool responses
  • Update PoolsResource to return typed Pool objects instead of dicts
  • Add 14 comprehensive tests covering all Pool model classes
  • Fix PoolsResponse to handle empty dict edge case correctly
  • All 111 tests passing with 91% code coverage maintained

🤖 Generated with Claude Code

- Add OtherAsset model with DateLastEvaluated date parsing
- Add OtherLiability model with MaturityDate and PaymentNextDue parsing
- Add Pool model with nested objects and multiple date field support
- Add PoolResponse wrapper for single pool API responses
- Add PoolsResponse wrapper handling both list and single pool responses
- Update PoolsResource to return typed Pool objects instead of dicts
- Add 14 comprehensive tests covering all Pool model classes
- Fix PoolsResponse to handle empty dict edge case correctly
- All 111 tests passing with 91% code coverage maintained

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

- Add SysTimeStamp field to test_pool_initialization test data
- Add assertions to verify SysTimeStamp is parsed correctly
- Improves code coverage from 91% to 92%
- Fixes codecov missing line 44 in pool.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@inntran inntran merged commit d7e7d4d into develop Nov 6, 2025
7 checks passed
@inntran inntran deleted the feature/add-pool-models branch November 6, 2025 15:29
@inntran inntran restored the feature/add-pool-models branch November 6, 2025 15:37
@inntran inntran deleted the feature/add-pool-models branch November 6, 2025 15:39
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.

1 participant