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