Skip to content

Add round-trip and serialization tests for all models#56

Merged
dannywillems merged 1 commit intomainfrom
fix/39-round-trip-tests
Feb 8, 2026
Merged

Add round-trip and serialization tests for all models#56
dannywillems merged 1 commit intomainfrom
fix/39-round-trip-tests

Conversation

@dannywillems
Copy link
Contributor

Summary

  • Add test_models.py with to_dict() and round-trip tests for APIResult, L9Subdomain, HostResult
  • Uses pytest.mark.parametrize for data variations
  • 11 new tests

Test plan

  • All 81 tests pass (70 existing + 11 new)

Closes #39

Add test_models.py with to_dict() and round-trip tests for
APIResult, L9Subdomain, and HostResult. Uses parametrize for
multiple data variations.

Closes #39
@dannywillems dannywillems merged commit ac6ec0a into main Feb 8, 2026
3 checks passed
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.

Add round-trip and serialization tests for all models

1 participant