@mock.patch('sys.stdin')
def test_interactive_no_renewal_delay(self, stdin):
    stdin.isatty.return_value = True
    test_util.make_lineage(self.config.config_dir, 'sample-renewal.conf')
    args = ['renew', '--dry-run', '-tvv']
    self._test_renewal_common(True, [], args=args, should_renew=True)
    self.assertEqual(self.mock_sleep.call_count, 0)
@mock.patch('sys.stdin')
def test_interactive_no_renewal_delay(self, stdin):
    stdin.isatty.return_value = True
    test_util.make_lineage(self.config.config_dir, 'sample-renewal.conf')
    args = ['renew', '--dry-run', '-tvv']
    self._test_renewal_common(True, [], args=args, should_renew=True)
    self.assertEqual(self.mock_sleep.call_count, 0)