Issue Description
The test suite currently has repetitive setup code where each test re-creates default MessageRequest and Payload instances. This repetition could be eliminated by using rstest fixtures to provide common test setup.
Current Situation
- Tests manually recreate MessageRequest and Payload instances
- Lines 52-59 in test files show this pattern
- Makes it harder to add common setup like tracing spans later
Proposed Solution
Consider using rstest fixtures to provide common test setup, which would:
- Eliminate code duplication
- Make tests more maintainable
- Simplify adding common setup elements in the future
- Align with project testing guidelines
Context
This enhancement would improve test maintainability and follow DRY principles.
Issue Description
The test suite currently has repetitive setup code where each test re-creates default MessageRequest and Payload instances. This repetition could be eliminated by using rstest fixtures to provide common test setup.
Current Situation
Proposed Solution
Consider using rstest fixtures to provide common test setup, which would:
Context
This enhancement would improve test maintainability and follow DRY principles.