mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-10 13:10:57 +00:00
feat(test): add comprehensive message/query factories
Extend tests/factories/message.py with: - file_query: file attachment query - unsupported_query: unknown message segment - voice_query: audio/voice query - at_all_query: group @All mention - query_with_session: query with session object - query_with_config: query with custom pipeline config Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,12 @@ from tests.factories.message import (
|
||||
mention_query,
|
||||
empty_query,
|
||||
image_query,
|
||||
file_query,
|
||||
unsupported_query,
|
||||
voice_query,
|
||||
at_all_query,
|
||||
query_with_session,
|
||||
query_with_config,
|
||||
)
|
||||
from tests.factories.provider import (
|
||||
FakeProvider,
|
||||
@@ -64,6 +70,12 @@ __all__ = [
|
||||
"mention_query",
|
||||
"empty_query",
|
||||
"image_query",
|
||||
"file_query",
|
||||
"unsupported_query",
|
||||
"voice_query",
|
||||
"at_all_query",
|
||||
"query_with_session",
|
||||
"query_with_config",
|
||||
# Provider
|
||||
"FakeProvider",
|
||||
"fake_provider",
|
||||
|
||||
Reference in New Issue
Block a user