Skip to content

Commit 0c52066

Browse files
committed
test(lark): register notice synthesis fixture for mixed collection
Signed-off-by: huangruiteng <huangrt01@163.com>
1 parent 54d5867 commit 0c52066

5 files changed

Lines changed: 9 additions & 1 deletion

‎tests/extensions/conftest.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Existing notification transport tests inject synthesis, never call a live model."""
1+
"""Transport modules explicitly import this shared fixture for mixed-root collection."""
22
import json
33
import pytest
44

‎tests/extensions/test_lark_goal_channel.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
import pytest
1212

13+
from tests.extensions.conftest import notification_transport_synthesis # noqa: F401
14+
1315
from loopx.cli_commands import goal_channel as goal_channel_cli
1416
from loopx.cli_commands import goal_channel_operation as goal_channel_operation_cli
1517
from loopx.extensions.lark import goal_channel_contracts

‎tests/extensions/test_lark_goal_channel_blocked_notice.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import json
44
from pathlib import Path
55

6+
from tests.extensions.conftest import notification_transport_synthesis # noqa: F401
7+
68
from loopx.extensions.lark.goal_channel_blocked_notice import deliver_blocked_notices
79
from loopx.extensions.lark import goal_channel_lifecycle, goal_channel_notification
810
from loopx.extensions.lark.goal_channel_runtime import (

‎tests/extensions/test_lark_goal_channel_blocked_notice_receipts.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import pytest
77

8+
from tests.extensions.conftest import notification_transport_synthesis # noqa: F401
9+
810
from loopx.extensions.lark import goal_channel_lifecycle, goal_channel_notification
911
from loopx.extensions.lark.goal_channel_blocked_notice import deliver_blocked_notices
1012
from loopx.extensions.lark.goal_channel_contracts import read_goal_channel_binding, write_goal_channel_binding

‎tests/extensions/test_lark_goal_channel_lifecycle.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
import pytest
88

9+
from tests.extensions.conftest import notification_transport_synthesis # noqa: F401
10+
911
from loopx.extensions.lark import goal_channel_lifecycle
1012
from loopx.extensions.lark.goal_channel_contracts import (
1113
GOAL_CHANNEL_BINDING_SCHEMA_VERSION,

0 commit comments

Comments
 (0)