Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_leaderboard(mocked):
result = CliRunner().invoke(cli.leaderboard, ['--tournament', 1])
# just testing if calling works fine
assert result.exit_code == 0