From 209352b55bc67d1a336f3423107e02c9e7a352a2 Mon Sep 17 00:00:00 2001 From: ckunki Date: Tue, 22 Oct 2024 13:49:21 +0200 Subject: [PATCH] Removed experimental local test --- .../with_db/test_user_guide_example.py | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/tests/integration_tests/with_db/test_user_guide_example.py b/tests/integration_tests/with_db/test_user_guide_example.py index 59fdecf4..fdb6730f 100644 --- a/tests/integration_tests/with_db/test_user_guide_example.py +++ b/tests/integration_tests/with_db/test_user_guide_example.py @@ -1,5 +1,4 @@ import re -import pytest from exasol_advanced_analytics_framework.example \ import generator as example_generator @@ -12,30 +11,6 @@ def script_args(bfs_connection_name: str, schema_name: str): return args -import pyexasol -@pytest.mark.skip("local") -def test_x2(): - pyexasol_connection = pyexasol.connect( - dsn="192.168.124.221:8563", - user="SYS", - password="exasol", - ) - bucketfs_connection_name, schema_name = ("BFS_CON", "MY_SCHEMA") - args = script_args(bucketfs_connection_name, schema_name) - statement = example_generator.create_script(args) - # print(f'create_script:\n{statement}') - pyexasol_connection.execute(statement) - statement = example_generator.execute_script(args) - # print(f'execute_script:\n{statement}') - result = pyexasol_connection.execute(statement).fetchall() - print(f'{result}') - expected = ( - "Final result: from query '.* table-insert bla-bla', 4" - " and bucketfs: '.* bucketfs bla-bla'" - ) - assert re.match(expected, result[0][0]) - - def test_user_guide_example(database_with_slc, pyexasol_connection): """ This test verifies the adhoc implementation of a QueryHandler as shown