def METHOD_NAME(old_status, new_status, upgrader, target):
    target.update(
        {
            'status': old_status,
            'schema_version': '7'
        }
    )
    value = upgrader.upgrade(
        'target',
        target,
        current_version='7',
        target_version='8'
    )
    assert value['schema_version'] == '8'
    assert value['status'] == new_status