diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-04-05 21:30:25 +0200 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-04-05 21:30:25 +0200 |
| commit | fdfb3abd3c595e4c5c42b4d854b152262c3b4614 (patch) | |
| tree | 209a4f23eb83cc3c6197f7097dd068c2ad024783 /servers/gitlab_glab/tests/test_integration.py | |
| parent | fa91e3fcbdd3b1d70f01de256e1c48fe7726ebd4 (diff) | |
feat: add listing gitlab issues to glab mcp server
Diffstat (limited to 'servers/gitlab_glab/tests/test_integration.py')
| -rw-r--r-- | servers/gitlab_glab/tests/test_integration.py | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
