Skip to content

Commit

Permalink
Removed experimental local test
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 22, 2024
1 parent 76f0bf8 commit 209352b
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions tests/integration_tests/with_db/test_user_guide_example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import re
import pytest
from exasol_advanced_analytics_framework.example \
import generator as example_generator

Expand All @@ -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
Expand Down

0 comments on commit 209352b

Please sign in to comment.