mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-17 11:14:19 +00:00
针对已被移除的路由规则功能的。根据 botmgr.py:74-100 中的注释,路由规则已被移除,Bot 现在直接绑定到 Pipeline 或 Workflow。
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
"""
|
||||
RuntimeBot.resolve_pipeline_uuid and _match_operator unit tests
|
||||
|
||||
NOTE: These tests are for the deprecated routing rules feature.
|
||||
Routing rules have been removed in favor of direct Pipeline/Workflow binding.
|
||||
These tests are kept for backward compatibility but are skipped.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
from unittest.mock import Mock
|
||||
|
||||
|
||||
# Mark all tests in this module as skipped since routing rules are deprecated
|
||||
pytestmark = pytest.mark.skip(reason="Routing rules feature has been removed. Bots now directly bind to Pipeline/Workflow.")
|
||||
|
||||
|
||||
class TestMatchOperator:
|
||||
"""Test the _match_operator static method."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user