From dd60031dea05c61629df8e49fa82b30969e05041 Mon Sep 17 00:00:00 2001 From: Grigory Statsenko Date: Mon, 9 Oct 2023 17:06:22 +0200 Subject: [PATCH] Fixed window function API tests (#3) --- lib/dl_api_lib_testing/dl_api_lib_testing/data_api_base.py | 1 + .../db/api/test_complex_queries.py | 3 +-- .../db/api/test_complex_queries.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/dl_api_lib_testing/dl_api_lib_testing/data_api_base.py b/lib/dl_api_lib_testing/dl_api_lib_testing/data_api_base.py index 77c215feb..8c00f652e 100644 --- a/lib/dl_api_lib_testing/dl_api_lib_testing/data_api_base.py +++ b/lib/dl_api_lib_testing/dl_api_lib_testing/data_api_base.py @@ -87,6 +87,7 @@ def create_data_api_settings( FIELD_ID_GENERATOR_TYPE=FieldIdGeneratorType.suffix, FILE_UPLOADER_BASE_URL=f"{bi_test_config.file_uploader_api_host}:{bi_test_config.file_uploader_api_port}", FILE_UPLOADER_MASTER_TOKEN="qwerty", + QUERY_PROCESSING_MODE=cls.query_processing_mode, ) # type: ignore @pytest.fixture(scope="function") diff --git a/lib/dl_connector_clickhouse/dl_connector_clickhouse_tests/db/api/test_complex_queries.py b/lib/dl_connector_clickhouse/dl_connector_clickhouse_tests/db/api/test_complex_queries.py index cd051c759..ff2924a9a 100644 --- a/lib/dl_connector_clickhouse/dl_connector_clickhouse_tests/db/api/test_complex_queries.py +++ b/lib/dl_connector_clickhouse/dl_connector_clickhouse_tests/db/api/test_complex_queries.py @@ -1,8 +1,7 @@ from dl_api_lib_testing.connector.complex_queries import DefaultBasicComplexQueryTestSuite -from dl_constants.enums import QueryProcessingMode from dl_connector_clickhouse_tests.db.api.base import ClickHouseDataApiTestBase class TestClickHouseBasicComplexQueries(ClickHouseDataApiTestBase, DefaultBasicComplexQueryTestSuite): - query_processing_mode = QueryProcessingMode.native_wf + pass diff --git a/lib/dl_connector_postgresql/dl_connector_postgresql_tests/db/api/test_complex_queries.py b/lib/dl_connector_postgresql/dl_connector_postgresql_tests/db/api/test_complex_queries.py index 3f52e7ea4..401f34a04 100644 --- a/lib/dl_connector_postgresql/dl_connector_postgresql_tests/db/api/test_complex_queries.py +++ b/lib/dl_connector_postgresql/dl_connector_postgresql_tests/db/api/test_complex_queries.py @@ -1,8 +1,7 @@ from dl_api_lib_testing.connector.complex_queries import DefaultBasicComplexQueryTestSuite -from dl_constants.enums import QueryProcessingMode from dl_connector_postgresql_tests.db.api.base import PostgreSQLDataApiTestBase class TestPostgreSQLBasicComplexQueries(PostgreSQLDataApiTestBase, DefaultBasicComplexQueryTestSuite): - query_processing_mode = QueryProcessingMode.native_wf + pass