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 @@ -25,6 +25,7 @@
from airflow.models.variable import Variable
from airflow.utils.session import provide_session

from tests_common.test_utils.asserts import assert_queries_count
from tests_common.test_utils.db import clear_db_variables
from tests_common.test_utils.logs import check_last_log

Expand Down Expand Up @@ -293,7 +294,8 @@ def test_should_respond_200(
self, session, test_client, query_params, expected_total_entries, expected_keys
):
self.create_variables()
response = test_client.get("/variables", params=query_params)
with assert_queries_count(3):
response = test_client.get("/variables", params=query_params)

assert response.status_code == 200
body = response.json()
Expand Down