Skip to content

Remove no-op backend arguments in keywrap and two-factor tests#15211

Merged
reaperhulk merged 1 commit into
mainfrom
claude/remove-unused-backend-args-k0d8za-keywrap-twofactor
Jul 6, 2026
Merged

Remove no-op backend arguments in keywrap and two-factor tests#15211
reaperhulk merged 1 commit into
mainfrom
claude/remove-unused-backend-args-k0d8za-keywrap-twofactor

Conversation

@alex

@alex alex commented Jul 6, 2026

Copy link
Copy Markdown
Member

The backend pytest fixture is autouse, so tests don't need to accept it to get its backend-support checks. This removes the backend argument from test functions in test_keywrap.py, twofactor/test_hotp.py, and twofactor/test_totp.py that either never use it, or only forward it to public APIs where the backend parameter is a deprecated no-op.

Part of a file-by-file series removing no-op backend arguments across the test suite. The combined change across the series was validated with nox -e local: test collection and results are identical before and after (3921 passed, 632 skipped).

🤖 Generated with Claude Code

https://claude.ai/code/session_01HbAhmdMqraTnNshGD636kL


Generated by Claude Code

The backend pytest fixture is autouse, so tests do not need to accept
it to get its backend-support checks. Remove the backend argument from
test functions that either never use it or only forward it to public
APIs where the backend parameter is a deprecated no-op.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HbAhmdMqraTnNshGD636kL
@reaperhulk reaperhulk enabled auto-merge (squash) July 6, 2026 17:54
@reaperhulk reaperhulk merged commit 6eb0ad3 into main Jul 6, 2026
69 checks passed
@reaperhulk reaperhulk deleted the claude/remove-unused-backend-args-k0d8za-keywrap-twofactor branch July 6, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants