Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
totycro committed Dec 3, 2024
1 parent b888445 commit 4ad75ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_log_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ad75ee

Please sign in to comment.