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_payments(mocked, login):
result = CliRunner().invoke(cli.payments)
# just testing if calling works fine
assert result.exit_code == 0