@pytest.fixture
def record_backfilled(test_perf_alert, record_context_sample):
    report = BackfillReport.objects.create(summary=test_perf_alert.summary)
    record = BackfillRecord.objects.create(alert=test_perf_alert, report=report, status=BackfillRecord.BACKFILLED)
    record.set_context(record_context_sample)
    record.save()
    return record
@pytest.fixture
def record_backfilled(test_perf_alert, record_context_sample):
    report = BackfillReport.objects.create(summary=test_perf_alert.summary)
    record = BackfillRecord.objects.create(alert=test_perf_alert, report=report, status=BackfillRecord.BACKFILLED)
    record.set_context(record_context_sample)
    record.save()
    return record