def mock_gitlab_token():
    """Fixture that patches the identify_token function to return GitLab provider type.

    This eliminates the need for repeated patching in each test function.
    """
    with patch(
        'openhands.resolver.issue_resolver.identify_token',
        return_value=ProviderType.GITLAB,
    ) as patched:
        yield patched
Fixture that patches the identify_token function to return GitLab provider type.

    This eliminates the need for repeated patching in each test function.
    
tests/unit/resolver/gitlab/test_gitlab_resolve_issues.py