@mock.patch('certbot._internal.log.post_arg_parse_setup')
def test_noninteractive(self, _):
    args = ['-n', 'certonly']
    self._cli_missing_flag(args, 'specify a plugin')
    args.extend(['--standalone', '-d', 'eg.is'])
    self._cli_missing_flag(args, 'register before running')
@mock.patch('certbot._internal.log.post_arg_parse_setup')
def test_noninteractive(self, _):
    args = ['-n', 'certonly']
    self._cli_missing_flag(args, 'specify a plugin')
    args.extend(['--standalone', '-d', 'eg.is'])
    self._cli_missing_flag(args, 'register before running')