Skip to content

Commit 9670bed

Browse files
committed
Try function level scope of engine
1 parent b964664 commit 9670bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy_singlestoredb/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def test_database(base_connection_url: str) -> Generator[str, None, None]:
249249
cur.execute(f'DROP DATABASE IF EXISTS {db_name}')
250250

251251

252-
@pytest.fixture(scope='session')
252+
@pytest.fixture(scope='function')
253253
def test_engine(
254254
base_connection_url: str, test_database: str,
255255
) -> Generator[Engine, None, None]:

0 commit comments

Comments
 (0)