def test_renew_verb_empty_config(self):
    rd = os.path.join(self.config.config_dir, 'renewal')
    if (not os.path.exists(rd)):
        filesystem.makedirs(rd)
    with open(os.path.join(rd, 'empty.conf'), 'w'):
        pass
    args = ['renew', '--dry-run', '-tvv']
    self._test_renewal_common(False, [], args=args, should_renew=False, error_expected=True)
def test_renew_verb_empty_config(self):
    rd = os.path.join(self.config.config_dir, 'renewal')
    if (not os.path.exists(rd)):
        filesystem.makedirs(rd)
    with open(os.path.join(rd, 'empty.conf'), 'w'):
        pass
    args = ['renew', '--dry-run', '-tvv']
    self._test_renewal_common(False, [], args=args, should_renew=False, error_expected=True)