fix: make Android tasks use extensions automatically and populate marketplace
This commit is contained in:
1 parent
6663233ab8
commit
9c82a40cbf
32 files changed
+341
-131
No files matched your search
@@ -88,6 +88,17 @@ def test_mobile_run_task_invalid_model():
|
||||
mobile_run_task(task_desc="test", conversation_id="conv-1", model="invalid_model")
|
||||
|
||||
|
||||
def test_auto_plugins_do_not_silently_fall_back_to_a_different_executor(temp_trace_env):
|
||||
with (
|
||||
patch("artemis.plugins.store.PluginStore.selections", return_value=["desktop"]),
|
||||
patch("mcp_server.tools.task_runner.subprocess.Popen") as popen,
|
||||
):
|
||||
result = mobile_run_task(task_desc="手机测试中操作电脑", model="flash")
|
||||
assert result["status"] == "failed"
|
||||
assert "统一任务服务" in result["error"]
|
||||
popen.assert_not_called()
|
||||
|
||||
|
||||
def test_mobile_run_task_reserves_and_passes_global_queue_ticket(temp_trace_env):
|
||||
process = MagicMock(pid=43210)
|
||||
with (
|
||||
|
||||
Reference in new issue
Block a user