Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 23, 2024
1 parent 1086cff commit cbfcaac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from fastapi.testclient import TestClient
from pvsite_datamodel.sqlmodels import Base, ForecastSQL, ForecastValueSQL, GenerationSQL, StatusSQL
from pvsite_datamodel.write.user_and_site import make_fake_site, create_site_group, create_user
from pvsite_datamodel.write.user_and_site import create_site_group, create_user, make_fake_site
from sqlalchemy import create_engine
from sqlalchemy.orm import Session
from testcontainers.postgres import PostgresContainer
Expand Down Expand Up @@ -62,7 +62,9 @@ def sites(db_session):
"""Create some fake sites"""

site_group = create_site_group(db_session=db_session)
create_user(session=db_session, email="[email protected]", site_group_name=site_group.site_group_name)
create_user(
session=db_session, email="[email protected]", site_group_name=site_group.site_group_name
)

sites = []
num_sites = 3
Expand Down

0 comments on commit cbfcaac

Please sign in to comment.