From fdfb3abd3c595e4c5c42b4d854b152262c3b4614 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Sat, 5 Apr 2025 21:30:25 +0200 Subject: feat: add listing gitlab issues to glab mcp server --- servers/gitlab_glab/tests/test_integration.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'servers/gitlab_glab/tests/test_integration.py') diff --git a/servers/gitlab_glab/tests/test_integration.py b/servers/gitlab_glab/tests/test_integration.py index 6915348..5d7eed5 100644 --- a/servers/gitlab_glab/tests/test_integration.py +++ b/servers/gitlab_glab/tests/test_integration.py @@ -23,7 +23,12 @@ class TestIntegration: mock_fastmcp.assert_called_once_with("GitLab CLI", host="127.0.0.1", port=8080) # Verify tools were registered - assert mock_server.tool.call_count == 3 # check_availability, find_project, create_issue + # Verify all tools are registered: + # - check_availability + # - find_project + # - search_issues + # - create_issue + assert mock_server.tool.call_count == 4 # Verify that the tool decorator was called with functions that have # working_directory parameter. We can't directly access the decorated functions -- cgit v1.2.3