From 4ad75ee50ef4baa90bc4300695e52601183578b3 Mon Sep 17 00:00:00 2001 From: Bernhard Mallinger Date: Tue, 3 Dec 2024 17:45:11 +0100 Subject: [PATCH] Update test --- tests/test_log_view.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_log_view.py b/tests/test_log_view.py index ec30b4e..85d81be 100644 --- a/tests/test_log_view.py +++ b/tests/test_log_view.py @@ -75,7 +75,8 @@ def test_log_view_returns_log_lines(client, mock_loki_request): response = client.get(f"/jobs/{job_id}/logs") assert ( - mock_loki_request.mock_calls[0][2]["params"]["query"] == '{job="test/abc-123"}' + mock_loki_request.mock_calls[0][2]["params"]["query"] + == '{job="test/pygeoapi-job-abc-123"}' ) assert response.status_code == 200