File size: 778 Bytes
82f9be0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""
测试数据fixture
"""

from src.core import EntityInfo


def create_test_entity_a():
    """创建测试实体A"""
    return EntityInfo(
        id="test-entity-a-001",
        name="Test Entity A",
        redis_host="localhost",
        redis_port=6379,
        redis_db=0,
        channel="test-entity-a-001"
    )


def create_test_entity_b():
    """创建测试实体B"""
    return EntityInfo(
        id="test-entity-b-002", 
        name="Test Entity B",
        redis_host="localhost",
        redis_port=6379,
        redis_db=0,
        channel="test-entity-b-002"
    )


def get_test_messages():
    """获取测试消息列表"""
    return [
        "Hello from Test Entity A!",
        "This is a test message",
        "Human-Clone system working"
    ]