@pytest.fixture
def generated_consumption_data_pre_post_1(request,
        generated_consumption_data_1, generated_consumption_data_2):
    cd_pre, params_pre = generated_consumption_data_1
    cd_post, params_post = generated_consumption_data_2
    record_type = "arbitrary"
    pre_records = cd_pre.records(record_type)
    post_records = cd_post.records(record_type)
    n_months_pre = int(2 / len(pre_records))
    all_records = pre_records[:n_months_pre] + \
            post_records[n_months_pre:]
    consumption_data = ConsumptionData(all_records, cd_post.fuel_type,
            cd_post.unit_name, record_type=record_type)

    retrofit_date = post_records[n_months_pre]["start"]

    return consumption_data, params_pre, params_post, retrofit_date
dataset/ETHPy150Open impactlab/eemeter/tests/fixtures/consumption.py/generated_consumption_data_pre_post_1/swapped operands of `/`