Skip to content

Commit 78bd354

Browse files
Copilotshaypal5
andcommitted
Fix SQL test module import path in parallel test fixture (#352)
* Fix SQL test module path in conftest.py fixture Co-authored-by: shaypal5 <917954+shaypal5@users.noreply.github.com> * Initial plan --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: shaypal5 <917954+shaypal5@users.noreply.github.com>
1 parent c30e2ca commit 78bd354

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ def inject_worker_schema_for_sql_tests(monkeypatch, request):
7070
monkeypatch.setenv("SQLALCHEMY_DATABASE_URL", new_url)
7171

7272
# Also patch the SQL_CONN_STR constant used in tests
73-
import tests.test_sql_core
73+
import tests.sql_tests.test_sql_core
7474

75-
monkeypatch.setattr(tests.test_sql_core, "SQL_CONN_STR", new_url)
75+
monkeypatch.setattr(tests.sql_tests.test_sql_core, "SQL_CONN_STR", new_url)
7676

7777
# Ensure schema creation by creating it before tests run
7878
try:

0 commit comments

Comments
 (0)