diff --git a/tests/test_app.py b/tests/test_app.py index 67c0621..161ded6 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -65,7 +65,8 @@ def test_paperless_import_queues_pdf_through_butler(monkeypatch): body = response.json() assert body["status"] == "queued" 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 app.PAPERLESS_CONSUME_DIR in captured["command"]