Skip to content

Commit fb40c39

Browse files
committed
fix: resolved import and changed renamed function
1 parent bd0f996 commit fb40c39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/test_elections.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@
88
import load_test_db
99
from auth.crud import create_user_session, get_computing_id, update_site_user
1010
from database import SQLALCHEMY_TEST_DATABASE_URL, DatabaseSessionManager
11-
from elections.crud import (
11+
from main import app
12+
from src.elections.crud import (
1213
add_registration,
1314
create_election,
1415
create_nominee_info,
1516
delete_election,
1617
delete_registration,
1718
# election crud
1819
get_all_elections,
19-
# election registration crud
20-
get_all_registrations,
2120
get_all_registrations_in_election,
21+
# election registration crud
22+
get_all_registrations_of_user,
2223
get_election,
2324
# info crud
2425
get_nominee_info,
2526
update_election,
2627
update_nominee_info,
2728
update_registration,
2829
)
29-
from main import app
3030

3131

3232
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)