def test_renew_with_bad_cli_args(self):
    self._test_renewal_common(True, None, args='renew -d example.com'.split(), should_renew=False, error_expected=True)
    self._test_renewal_common(True, None, args='renew --csr {0}'.format(CSR).split(), should_renew=False, error_expected=True)
def test_renew_with_bad_cli_args(self):
    self._test_renewal_common(True, None, args='renew -d example.com'.split(), should_renew=False, error_expected=True)
    self._test_renewal_common(True, None, args='renew --csr {0}'.format(CSR).split(), should_renew=False, error_expected=True)