Skip to content

Commit

Permalink
fix database used for template tests
Browse files Browse the repository at this point in the history
  • Loading branch information
devkral committed Nov 15, 2024
1 parent 6f404a7 commit dbb1000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import edgy
from edgy import Instance
from edgy.contrib.permissions import BasePermission
from tests.settings import DATABASE_URL
from tests.settings import TEST_DATABASE

pytestmark = pytest.mark.anyio
models = edgy.Registry(database=DATABASE_URL, with_content_type=True)
models = edgy.Registry(database=TEST_DATABASE, with_content_type=True)

basedir = os.path.abspath(os.path.dirname(__file__))

Expand Down

0 comments on commit dbb1000

Please sign in to comment.