@pytest.fixture
def successful_jobs(outcome_checking_pushes, eleven_jobs_stored):
    jobs = Job.objects.all()
    _successful_jobs = []
    pairs = zip(outcome_checking_pushes, jobs)
    for (push, job) in pairs:
        job.push = push
        job.result = 'success'
        job.job_type_id = JOB_TYPE_ID
        job.save()
        _successful_jobs.append(job)
    return _successful_jobs
@pytest.fixture
def successful_jobs(outcome_checking_pushes, eleven_jobs_stored):
    jobs = Job.objects.all()
    _successful_jobs = []
    pairs = zip(outcome_checking_pushes, jobs)
    for (push, job) in pairs:
        job.push = push
        job.result = 'success'
        job.job_type_id = JOB_TYPE_ID
        job.save()
        _successful_jobs.append(job)
    return _successful_jobs