Mirror unittest suite with pytest equivalents#23
Open
MichaelDecent wants to merge 7 commits into
Open
Conversation
- Added `pytest-asyncio` to development dependencies for async testing support. - Introduced new test files covering various aspects of HTTP/1.1, HTTP/2, and HTTP/3 CONNECT tunneling, including bidirectional data relay and chunked request handling. - Enhanced existing tests for websocket frames and compression handling. - Implemented configuration validation tests for TCP and UDP listeners with SSL settings. - Added tests for QUIC session management and TLS handshake processes.
- Introduced new test files for aioquic adapter, certification environment, connect tunnel, and content coding policy. - Implemented tests for environment flag handling, QUIC session management, and HTTP CONNECT tunneling. - Validated content coding policies and ensured proper handling of unsupported encodings. - Enhanced existing tests for certification environment snapshots and workflows. - Ensured bidirectional data relay functionality for both HTTP/2 and HTTP/3 connections.
- Introduced tests for optional dependencies in pyproject.toml, ensuring correct declarations and references. - Validated documentation alignment with declared optional dependencies across various files. - Implemented checks for error hints related to missing optional dependencies and their corresponding documentation. - Enhanced tests for current state chain and archival current aliases, ensuring proper labeling and normalization. - Added tests for external current and independent peer release matrices, verifying expected scenarios and artifact integrity.
- Introduced tests for loading external matrices, validating scenario dimensions, and ensuring proper error handling for independent certification. - Added tests for flow scheduler components, including task dispatching, cancellation helpers, and timeout policies. - Implemented validation for backpressure, watermarks, credits, keepalive, and quotas functionalities.
- Introduced new test files for HTTP content coding, integrity caching signatures, and request stream state machine. - Implemented tests for gzip negotiation across HTTP/1.1, HTTP/2, and HTTP/3. - Validated handling of various request formats, including absolute and asterisk forms. - Enhanced tests for HTTP/2 server push functionality and state machine transitions. - Added tests for WebSocket integration over HTTP/2 and error handling in HTTP/3 streams.
- Introduced a new test file for validating x509 certificate handling and revocation processes. - Implemented a mock HTTP server to simulate revocation requests and responses. - Added tests for creating CA and server leaf certificates with various attributes and constraints. - Enhanced the test suite to cover different scenarios for certificate validation and revocation checks.
- Introduced new test files for HTTP content coding, WebSocket integration, and state machine transitions. - Implemented tests for gzip negotiation across HTTP versions. - Enhanced tests for handling various request formats and error scenarios in HTTP/3 streams. - Added a GitHub Actions workflow for running the pytest suite on push and pull request events.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.