fix: route Paperless import through automation1
This commit is contained in:
parent
bca531746b
commit
0f967dce73
1 changed files with 2 additions and 1 deletions
|
|
@ -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"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue