feat: release 1.1.0 with responsive task control
This commit is contained in:
1 parent
057f0c3050
commit
bfcd828fa8
37 files changed
+1601
-151
No files matched your search
@@ -60,6 +60,15 @@ async def test_running_batch_start_is_idempotent(monkeypatch):
|
||||
assert request.call_args.args[0] == "GET"
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_delete_batch_uses_the_same_backend_as_the_web_ui(monkeypatch):
|
||||
request = AsyncMock(return_value={"batch_id": "batch", "status": "deleted"})
|
||||
monkeypatch.setattr(tools, "_request", request)
|
||||
|
||||
assert (await tools.mobile_batch("delete", batch_id="batch"))["status"] == "deleted"
|
||||
request.assert_awaited_once_with("DELETE", "/api/automation/batches/batch")
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_download_writes_actual_binary_atomically(monkeypatch, tmp_path):
|
||||
monkeypatch.setattr(tools, "EXPORT_DIR", tmp_path)
|
||||
|
||||
Reference in new issue
Block a user