Skip to content

refactor: Eliminate pytest monkeypatch from CLI tests using dependency injection#61

Merged
allenporter merged 27 commits into
mainfrom
improve-test-code-coverage
Jul 26, 2026
Merged

refactor: Eliminate pytest monkeypatch from CLI tests using dependency injection#61
allenporter merged 27 commits into
mainfrom
improve-test-code-coverage

Conversation

@allenporter

Copy link
Copy Markdown
Owner

Refactors auth.py, login.py, and test_login.py to use standard dependency injection parameters (seams) and unittest.mock.patch instead of the pytest monkeypatch fixture.

…ep it out of public API docs"

This reverts commit 9a6d1d9.
…wrapper and use mock_load_credentials fixture
@allenporter
allenporter merged commit 7b40c0d into main Jul 26, 2026
2 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.

1 participant