@pytest.fixture
def range_dates(record_context_sample):
    from_date = datetime.fromisoformat(record_context_sample[0]['push_timestamp'])
    to_date = datetime.fromisoformat(record_context_sample[(- 1)]['push_timestamp'])
    return {'before_date': (from_date - timedelta(days=5)), 'from_date': from_date, 'in_range_date': (from_date + timedelta(hours=13)), 'to_date': to_date, 'after_date': (to_date + timedelta(days=3))}
@pytest.fixture
def range_dates(record_context_sample):
    from_date = datetime.fromisoformat(record_context_sample[0]['push_timestamp'])
    to_date = datetime.fromisoformat(record_context_sample[(- 1)]['push_timestamp'])
    return {'before_date': (from_date - timedelta(days=5)), 'from_date': from_date, 'in_range_date': (from_date + timedelta(hours=13)), 'to_date': to_date, 'after_date': (to_date + timedelta(days=3))}