fix(ci): align runtime contract tests

This commit is contained in:
jxxghp
2026-08-25 18:21:32 +08:00
parent b914e8b6e4
commit fe06ea8c55
7 changed files with 69 additions and 61 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class FetchRssActionTest(unittest.TestCase):
]
with patch("app.workflow.actions.fetch_rss.RssHelper") as rss_helper, \
patch("app.workflow.actions.fetch_rss.global_vars.is_workflow_stopped", return_value=False):
patch("app.workflow.actions.fetch_rss.runtime_stop_state.is_workflow_stopped", return_value=False):
rss_helper.return_value.parse.return_value = rss_items
context = FetchRssAction("fetch-rss").execute(