Add unit tests for message handling and image processing in schema module
- Introduce fixtures for temporary cache directory and sample image creation.
- Add tests for message creation from human and AI text.
- Implement tests for messages with single and multiple images.
- Include tests for invalid image paths and messages without sender.
- Add message serialization and conversion tests.
- Ensure cleanup of cache directory after tests.
8e3c06b
16 days ago
by ogabrielluiz
+22%
Use platformdirs to determine cache directory paths in test_schema_message.py