Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f76184b37 | ||
|
|
a7f7799362 | ||
|
|
070dfd21d5 |
@@ -46,7 +46,7 @@ if abs_db_path.exists():
|
||||
os.environ['DATABASE_URL'] = f'file:{abs_db_path}'
|
||||
|
||||
from app.core.config import settings
|
||||
settings.database_url = f'file:{db_filename}'
|
||||
settings.database_url = f'file:{abs_db_path}'
|
||||
from app.db.init_db import init_schema_and_seed
|
||||
from app.db.database import get_db
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
Reference in new issue
Block a user