def METHOD_NAME(scenario):
    # simulates an environment where asset_event_tags cannot be added
    instance = DagsterInstance.ephemeral()
    run_requests, _, _ = scenario.do_sensor_scenario(instance)
    assert len(run_requests) == len(scenario.expected_run_requests)
    def sort_run_request_key_fn(run_request):
        return (min(run_request.asset_selection), run_request.partition_key)
    sorted_run_requests = sorted(run_requests, key=sort_run_request_key_fn)
    sorted_expected_run_requests = sorted(
        scenario.expected_run_requests, key=sort_run_request_key_fn
    )
    for run_request, expected_run_request in zip(sorted_run_requests, sorted_expected_run_requests):
        assert set(run_request.asset_selection) == set(expected_run_request.asset_selection)
        assert run_request.partition_key == expected_run_request.partition_key