def METHOD_NAME(task, expected, raises):
    if raises:
        with pytest.raises(ValueError):
            get_task_behavior(task, {"taskcluster_scope_prefix": "project:releng:balrog:"})
    else:
        assert get_task_behavior(task, {"taskcluster_scope_prefix": "project:releng:balrog:"}) == expected