def METHOD_NAME(app, fresh_db, setup_accounts_fresh_db):
    from flexmeasures.cli.data_show import list_accounts
    runner = app.test_cli_runner()
    result = runner.invoke(list_accounts)
    assert "All accounts on this" in result.output
    for account in setup_accounts_fresh_db.values():
        assert account.name in result.output
    assert result.exit_code == 0