Skip to content

Commit

Permalink
update to test app
Browse files Browse the repository at this point in the history
  • Loading branch information
ADIMANV committed Sep 27, 2024
1 parent f7b928c commit f11ac42
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions database-cleanup/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ def _run_cli(func, args: list[str]):
@pytest.fixture
def site(session):
# Create a new site (this way we know it won't have any forecasts yet).
client = str(uuid.uuid4())
session.add(client)
session.commit()

site = SiteSQL( ml_id=hash(uuid.uuid4()) % 2147483647)
session.add(site)
session.commit()
return site


Expand Down

0 comments on commit f11ac42

Please sign in to comment.