def METHOD_NAME(context, scopes, sufix, raises):
    context.task["scopes"] = scopes
    if raises:
        with pytest.raises(TaskVerificationError):
            _get_scope(context, sufix)
    else:
        assert _get_scope(context, sufix) == scopes[0]