From 52d70a0d67b6f30e489c8aa78adde0ff735a4e61 Mon Sep 17 00:00:00 2001 From: mibe Date: Fri, 11 Oct 2024 11:25:09 +0100 Subject: [PATCH] #142 Fixed ci tests --- tests/ci_tests/conftest.py | 3 +-- tests/fixtures/prepare_environment_fixture.py | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/ci_tests/conftest.py b/tests/ci_tests/conftest.py index bd8bd86..0d33341 100644 --- a/tests/ci_tests/conftest.py +++ b/tests/ci_tests/conftest.py @@ -1,6 +1,5 @@ pytest_plugins = [ "tests.fixtures.language_container_fixture", "tests.fixtures.setup_database_fixture", - "tests.fixtures.prepare_environment_fixture", - "tests.fixtures.script_deployment_fixture", + "tests.fixtures.prepare_environment_fixture" ] diff --git a/tests/fixtures/prepare_environment_fixture.py b/tests/fixtures/prepare_environment_fixture.py index c960c03..9882fc9 100644 --- a/tests/fixtures/prepare_environment_fixture.py +++ b/tests/fixtures/prepare_environment_fixture.py @@ -40,7 +40,6 @@ def _setup_database(db_conn: pyexasol.ExaConnection, deploy_params: dict[str, An for model_setup in [reg_model_setup_params, cls_model_setup_params]: _open_schema(db_conn, model_setup) DeployCreateStatements.create_and_run(**deploy_params, - use_ssl_cert_validation=False, schema=model_setup.schema_name) _create_tables(db_conn, model_setup) _insert_into_tables(db_conn, model_setup) @@ -189,12 +188,12 @@ def aws_bucket_uri(self) -> str: @pytest.fixture(scope="session") def prepare_ci_test_environment(pyexasol_connection, - deploy_params, + database_std_params, aws_s3_bucket, connection_object_for_aws_credentials, aws_sagemaker_role, deployed_slc) -> CITestEnvironment: - _setup_database(pyexasol_connection, deploy_params) + _setup_database(pyexasol_connection, database_std_params) yield CITestEnvironment(db_conn=pyexasol_connection, aws_s3_bucket=aws_s3_bucket, connection_object_for_aws_credentials=connection_object_for_aws_credentials,