[Feature] Add support for deploying local pipelines to Embedchain platform (#847)
This commit is contained in:
16
tests/conftest.py
Normal file
16
tests/conftest.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def clean_db():
|
||||
db_path = os.path.expanduser("~/.embedchain/embedchain.db")
|
||||
if os.path.exists(db_path):
|
||||
os.remove(db_path)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def setup():
|
||||
clean_db()
|
||||
yield
|
||||
clean_db()
|
||||
Reference in New Issue
Block a user