From 7e16a85702f5d2b31afdd5d380e647d4455abfe4 Mon Sep 17 00:00:00 2001 From: PranavPuranik Date: Thu, 27 Jun 2024 23:58:49 -0500 Subject: [PATCH] fixing pytest issues #2 --- embedchain/tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embedchain/tests/conftest.py b/embedchain/tests/conftest.py index 06786d2cf9..25439637fa 100644 --- a/embedchain/tests/conftest.py +++ b/embedchain/tests/conftest.py @@ -37,6 +37,6 @@ def disable_telemetry(): @pytest.fixture(autouse=True) -def mock_alembic_command(): - with mock.patch("alembic.command.upgrade") as mock_alembic: +def mock_alembic_command_upgrade(): + with mock.patch("alembic.command.upgrade"): yield