Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import pytest

from tests_common.test_utils.asserts import assert_queries_count
from tests_common.test_utils.config import conf_vars

pytestmark = pytest.mark.db_test
Expand Down Expand Up @@ -61,7 +62,8 @@ def test_should_response_200(self, mock_config_data, test_client):
"""
Test the /config endpoint to verify response matches mock data.
"""
response = test_client.get("/config")
with assert_queries_count(0):
response = test_client.get("/config")

assert response.status_code == 200
assert response.json() == mock_config_response
Expand Down
Loading