refactor: unify workflow data port access

This commit is contained in:
jxxghp
2026-08-24 04:11:09 +08:00
parent 8555d0da3e
commit 48e796cab7
9 changed files with 52 additions and 17 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ def test_add_subscribe_uses_superuser_from_chain_snapshot(monkeypatch):
monkeypatch.setattr(add_subscribe_module.global_vars, "is_workflow_stopped", lambda _: False)
monkeypatch.setattr(
add_subscribe_module,
"SubscribeOper",
"get_chain_subscribe_port",
lambda: SimpleNamespace(get=lambda sid: sid),
)