Skip to content

Commit d28dc52

Browse files
committed
fix(test,datatype): setup/teardown sql script path
1 parent 08b6ed6 commit d28dc52

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/integration/datatype/_generate_test_datatype_tables.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
from redshift_connector import Connection
1010

1111
SCHEMA_NAME: str = "datatype_integration"
12-
root_path: str = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
13-
CREATE_FILE_PATH: str = "{root}/datatype/datatype_test_stmts.sql".format(root=root_path)
14-
TEARDOWN_FILE_PATH: str = "{root}/datatype/datatype_teardown_stmts.sql".format(root=root_path)
12+
CREATE_FILE_PATH: str = "datatype_test_stmts.sql"
13+
TEARDOWN_FILE_PATH: str = "datatype_teardown_stmts.sql"
1514
"""
1615
This file generates a sql file that creates db resources used for testing datatype support.
1716
The file generated is run directly with psql to bypass redshift_connector.

0 commit comments

Comments
 (0)