fix: monkeypatch test db URL
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,6 +1,7 @@
|
|||||||
.venv/
|
.venv/
|
||||||
logs/
|
logs/
|
||||||
.claude/
|
.claude/*
|
||||||
|
CLAUDE.md
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyo
|
*.pyo
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ from sqlalchemy.ext.asyncio import create_async_engine
|
|||||||
from decnet.web.db.mysql.repository import MySQLRepository
|
from decnet.web.db.mysql.repository import MySQLRepository
|
||||||
|
|
||||||
|
|
||||||
LIVE_URL = os.environ.get("DECNET_MYSQL_TEST_URL") or os.environ.get("DECNET_DB_URL")
|
LIVE_URL = "mysql+asyncmy://root:root@127.0.0.1:3307/decnet"
|
||||||
|
|
||||||
pytestmark = [
|
pytestmark = [
|
||||||
pytest.mark.live,
|
pytest.mark.live,
|
||||||
|
|||||||
Reference in New Issue
Block a user