def METHOD_NAME(globbing_creator, constraints, request):
    if constraints == "constraints_absolute":
        expected_result = [
            {
                "channel": "______",
                "platform_name": "MSG4",
                "end_time_H": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
                "end_time_Y": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
                "end_time_d": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
                "end_time_m": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
            },
            {
                "channel": "IR_108",
                "platform_name": "MSG4",
                "end_time_H": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
                "end_time_Y": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
                "end_time_d": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
                "end_time_m": datetime.datetime(2019, 12, 31, 12, 0, tzinfo=datetime.timezone.utc),
            },
        ]
    elif constraints == "constraints_relative":
        expected_result = [
            {
                "channel": "______",
                "platform_name": "MSG4",
                "start_time_H": datetime.datetime(2000, 1, 1, 0, 0, 0),
                "start_time_Y": datetime.datetime(2000, 1, 1, 0, 0, 0),
                "start_time_d": datetime.datetime(2000, 1, 1, 0, 0, 0),
                "start_time_m": datetime.datetime(2000, 1, 1, 0, 0, 0),
            },
            {
                "channel": "IR_108",
                "platform_name": "MSG4",
                "start_time_H": datetime.datetime(2000, 1, 1, 0, 0, 0),
                "start_time_Y": datetime.datetime(2000, 1, 1, 0, 0, 0),
                "start_time_d": datetime.datetime(2000, 1, 1, 0, 0, 0),
                "start_time_m": datetime.datetime(2000, 1, 1, 0, 0, 0),
            },
            {
                "channel": "______",
                "platform_name": "MSG4",
                "start_time_H": datetime.datetime(1999, 12, 31, 23, 0, 0),
                "start_time_Y": datetime.datetime(1999, 12, 31, 23, 0, 0),
                "start_time_d": datetime.datetime(1999, 12, 31, 23, 0, 0),
                "start_time_m": datetime.datetime(1999, 12, 31, 23, 0, 0),
            },
            {
                "channel": "IR_108",
                "platform_name": "MSG4",
                "start_time_H": datetime.datetime(1999, 12, 31, 23, 0, 0),
                "start_time_Y": datetime.datetime(1999, 12, 31, 23, 0, 0),
                "start_time_d": datetime.datetime(1999, 12, 31, 23, 0, 0),
                "start_time_m": datetime.datetime(1999, 12, 31, 23, 0, 0),
            },
        ]
    constraints = request.getfixturevalue(constraints)
    ec_abs = globbing_creator._expand_constraints(constraints)
    assert ec_abs == expected_result