- Mark U2F and CTAP1 interop tests with @pytest.mark.ctap1
- Add --no-ctap1 CLI flag to skip them
- Mark UP tests that require real button (test_no_user_presence,
test_user_presence_permits_only_one_request, test_keep_alive)
with @pytest.mark.interactive
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The solokeys vendor path in conftest.py handles device reboots
automatically via vendor CTAP command 0x53, so no interactive
markers are needed. Run tests with: pytest --vendor solokeys
Result: 175 passed, 5 failed, 12 skipped, 1 xfailed, 9 errors (3m04s)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Annotate tests requiring user presence or device reboot with
@pytest.mark.interactive. Add --non-interactive CLI flag to skip them.
Mark test_bad_type_rp_icon as xfail (known firmware issue).
Result: 140 passed, 61 skipped, 1 xfailed, 0 failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There could be random issues that could pop up.
1. Reader powers off card before next test, meaning it needs to be selected again.
2. Reader powers off card before next test, meaning volatile variables like pinAuth need to be recalculated.
3. Sometimes the reader disconnects and should be reconnected with generous timing.