Skip to content

Commit

Permalink
Assert on store_account result
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhigley committed Sep 4, 2024
1 parent 8a0c773 commit f8317fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/repositories/test_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ def test_store_experiment():

with DB_ENGINE.connect() as conn:
account_repo = DbAccountRepository(conn)
account_repo.store_account(
account_id = account_repo.store_account(
Account(
account_id=experiment.owner.members[0],
email="[email protected]",
source="test",
status="test",
)
)
assert isinstance(account_id, UUID)

experiment_repo = DbExperimentRepository(conn)
experiment_id = experiment_repo.store_experiment(experiment)
Expand Down

0 comments on commit f8317fd

Please sign in to comment.