'Test handling the deletion of a single Jenkins job.'

@mock.patch('jenkins_jobs.cli.subcommand.update.JenkinsManager.delete_all_jobs')
def test_delete_all_accept(self, delete_job_mock):

    args = ['--conf', self.default_config_file, 'delete-all']
    with mock.patch('jenkins_jobs.utils.input', return_value='y'):
        self.execute_jenkins_jobs_with_args(args)
