Skip to content

Commit 2e6795d

Browse files
committed
fix: add user back into engine url
1 parent c48f0d2 commit 2e6795d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_sqlalchemy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def psycopg2_connect(dbapi_connection, connection_record):
2828
register_vector(dbapi_connection)
2929

3030

31-
pg8000_engine = create_engine(f'postgresql+pg8000://localhost/pgvector_python_test')
31+
pg8000_engine = create_engine(f'postgresql+pg8000://{os.environ["USER"]}@localhost/pgvector_python_test')
3232

3333
if sqlalchemy_version > 1:
3434
psycopg_engine = create_engine('postgresql+psycopg://localhost/pgvector_python_test')

0 commit comments

Comments
 (0)