request.tests.test_request_context¶
Unit tests for the BaseRequestContext class.
Classes¶
Test cases for the BaseRequestContext class. |
Module Contents¶
- class request.tests.test_request_context.TestRequestContext[source]¶
Test cases for the BaseRequestContext class.
- test_init_with_defaults()[source]¶
Test that BaseRequestContext initializes with all None values by default.
- test_init_with_values()[source]¶
Test that BaseRequestContext can be initialized with specific values.
- test_parsed_message_with_pki_message()[source]¶
Test that parsed_message can hold a PKIMessage object.
- test_dataclass_immutability_after_creation()[source]¶
Test that fields can be modified after creation (dataclass is mutable).