Skip to content

Commit

Permalink
improve new test
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
  • Loading branch information
nhoening committed May 1, 2023
1 parent 1c873ec commit 470e8e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flexmeasures/data/tests/test_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@


def test_get_accounts(db, setup_assets):
no_accounts = get_accounts("Not-an-existing-role")
assert len(no_accounts) == 0
dummy_accounts = get_accounts("Dummy")
assert len(dummy_accounts) == 2 # Dummy and Multi-Role
assert dummy_accounts[0].name == "Test Dummy Account"
Expand Down

0 comments on commit 470e8e0

Please sign in to comment.