机器人显示名与站点标题可配;多段联运列表投影;协同群监听对账;工单附件落存;模板与工单后台补强
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -154,6 +154,25 @@ class TestLeaderMatch(unittest.TestCase):
|
||||
facts=facts,
|
||||
)
|
||||
)
|
||||
# 后台现网选项是「空运全线」,不能只认旧词「全线」
|
||||
self.assertTrue(
|
||||
leader_matches(
|
||||
role_code="air",
|
||||
routes="空运全线",
|
||||
is_leader=True,
|
||||
business_line="AIR",
|
||||
facts=facts,
|
||||
)
|
||||
)
|
||||
self.assertTrue(
|
||||
leader_matches(
|
||||
role_code="land",
|
||||
routes="陆运全线",
|
||||
is_leader=True,
|
||||
business_line="LAND",
|
||||
facts={"线路类别": "东南亚"},
|
||||
)
|
||||
)
|
||||
self.assertFalse(
|
||||
leader_matches(
|
||||
role_code="air",
|
||||
|
||||
Reference in New Issue
Block a user