Skip to content

Commit

Permalink
update conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 23, 2024
1 parent 499130e commit 7d6fbcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def db_session(engine):
def sites(db_session):
"""Create some fake sites"""

site_group = make_site_group(db_session=db_session)
make_user(db_session=db_session, email="[email protected]", site_group=site_group)
site_group = create_site_group(db_session=db_session)
create_user(db_session=db_session, email="[email protected]", site_group=site_group)

sites = []
num_sites = 3
for j in range(num_sites):
site = make_site(db_session=db_session, ml_id=j + 1)
site = make_fake_site(db_session=db_session, ml_id=j + 1)
site.dno = f"test_dno_{j}"
site.gsp = f"test_gsp_{j}"

Expand Down

0 comments on commit 7d6fbcf

Please sign in to comment.