From f38e59fd70a249dcd9aa2c3af0d26b437025a6cd Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Wed, 24 Jan 2024 10:31:31 +0100 Subject: [PATCH] Fixed test --- tests/sql_mock/clickhouse/test_table_mocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sql_mock/clickhouse/test_table_mocks.py b/tests/sql_mock/clickhouse/test_table_mocks.py index c750be7..deedc12 100644 --- a/tests/sql_mock/clickhouse/test_table_mocks.py +++ b/tests/sql_mock/clickhouse/test_table_mocks.py @@ -68,4 +68,4 @@ def test_get_results(mocker): result = instance._get_results(query=query) assert result == mock_query_result - mock_client.return_value.__enter__.return_value.query.assert_called_once_with(query) + mock_client.return_value.__enter__.return_value.query.assert_called_once_with(query, use_none=True)