Skip to content

Commit

Permalink
feat(db-init): separate database initialization from global database …
Browse files Browse the repository at this point in the history
…session (#1805)
  • Loading branch information
mabw-rte authored and laurent-laporte-pro committed Dec 9, 2023
1 parent ef908f4 commit 019d33b
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions tests/login/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,7 @@
from sqlalchemy.exc import IntegrityError # type: ignore
from sqlalchemy.orm import sessionmaker # type: ignore

from antarest.login.model import (
GROUP_ID,
GROUP_NAME,
USER_ID,
USER_NAME,
Group,
Password,
Role,
RoleType,
User,
init_admin_user,
)
from antarest.login.model import GROUP_ID, GROUP_NAME, USER_ID, USER_NAME, Group, Password, Role, User, init_admin_user
from antarest.utils import SESSION_ARGS

TEST_ADMIN_PASS_WORD = "test"
Expand Down

0 comments on commit 019d33b

Please sign in to comment.