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_competitions(mocked):
result = CliRunner().invoke(cli.competitions, ['--tournament', 1])
# just testing if calling works fine
assert result.exit_code == 0