We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8183d2 commit 9df2373Copy full SHA for 9df2373
1 file changed
tests/test_migrations.py
@@ -11,14 +11,14 @@
11
subsequent test runs.
12
"""
13
14
-import os
15
import sqlite3
16
17
from alembic import command
18
+from databases.player_database import DATABASE_URL
19
from tests.conftest import ALEMBIC_CONFIG
20
21
-DB_PATH = os.getenv("STORAGE_PATH", "./players-sqlite3.db")
+DB_PATH = DATABASE_URL.replace("sqlite+aiosqlite:///", "")
22
23
24
def test_migration_downgrade_003_removes_substitutes_only():
0 commit comments