Sets up metadata db for every llm class (#1401)
This commit is contained in:
@@ -32,4 +32,4 @@ def clean_db():
|
||||
def disable_telemetry():
|
||||
os.environ["EC_TELEMETRY"] = "false"
|
||||
yield
|
||||
del os.environ["EC_TELEMETRY"]
|
||||
del os.environ["EC_TELEMETRY"]
|
||||
8
embedchain/tests/llm/conftest.py
Normal file
8
embedchain/tests/llm/conftest.py
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
from unittest import mock
|
||||
import pytest
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_alembic_command_upgrade():
|
||||
with mock.patch("alembic.command.upgrade"):
|
||||
yield
|
||||
Reference in New Issue
Block a user