Summary
tests.test_websocket_additional_rfc6455 has a failing expectation in test_accept_rejects_extension_negotiation.
Reproduction
uv run python -m unittest -v tests.test_websocket_additional_rfc6455
Current result
- Ran: 3 tests
- Failures: 1
- Failing test:
test_accept_rejects_extension_negotiation
Failure details
At:
tests/test_websocket_additional_rfc6455.py:57
Assertion:
with self.assertRaises(RuntimeError):
...
Observed:
- No
RuntimeError was raised
- failure:
AssertionError: RuntimeError not raised
Notes
The other two tests in this module currently pass, so the mismatch appears localized to extension-negotiation rejection behavior/expectation.
Acceptance criteria
- Clarify intended behavior for extension negotiation in this scenario.
- Align implementation or test expectation accordingly.
uv run python -m unittest -v tests.test_websocket_additional_rfc6455 passes.
Summary
tests.test_websocket_additional_rfc6455has a failing expectation intest_accept_rejects_extension_negotiation.Reproduction
Current result
test_accept_rejects_extension_negotiationFailure details
At:
tests/test_websocket_additional_rfc6455.py:57Assertion:
Observed:
RuntimeErrorwas raisedAssertionError: RuntimeError not raisedNotes
The other two tests in this module currently pass, so the mismatch appears localized to extension-negotiation rejection behavior/expectation.
Acceptance criteria
uv run python -m unittest -v tests.test_websocket_additional_rfc6455passes.