fix: route Paperless import through automation1

This commit is contained in:
sascha 2026-09-01 08:43:28 +02:00
parent bca531746b
commit 0f967dce73

View file

@ -65,7 +65,8 @@ def test_paperless_import_queues_pdf_through_butler(monkeypatch):
body = response.json() body = response.json()
assert body["status"] == "queued" assert body["status"] == "queued"
assert body["filename"].startswith("Hausordnung_Stand_09.05.2022-") assert body["filename"].startswith("Hausordnung_Stand_09.05.2022-")
assert captured["host"] == app.PAPERLESS_SSH assert captured["host"] == app.PAPERLESS_GATEWAY
assert app.PAPERLESS_SSH in captured["command"]
assert captured["payload"] == pdf assert captured["payload"] == pdf
assert app.PAPERLESS_CONSUME_DIR in captured["command"] assert app.PAPERLESS_CONSUME_DIR in captured["command"]