Skip to content

Refactor tests to use dependency injection and fakes#12

Closed
mmontan wants to merge 2 commits intomainfrom
refactor-testing-fakes-12025630112277388695
Closed

Refactor tests to use dependency injection and fakes#12
mmontan wants to merge 2 commits intomainfrom
refactor-testing-fakes-12025630112277388695

Conversation

@mmontan
Copy link
Collaborator

@mmontan mmontan commented Feb 11, 2026

Summary

  • Refactor CRUD operations to use dependency injection, replacing direct SDK calls with a client abstraction
  • Introduce test fakes (tests/fakes.py) to replace mocking, making tests more readable and maintainable
  • Add tests/__init__.py to make tests a proper Python package
  • Update README with end-user installation instructions (uv tool install / pip install)

Test plan

  • Run uv run pytest to verify all tests pass
  • Verify uv run ae --help still works correctly

🤖 Generated with Claude Code

@mmontan mmontan closed this Feb 11, 2026
@mmontan mmontan deleted the refactor-testing-fakes-12025630112277388695 branch February 11, 2026 14:22
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