diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-03-28 21:39:04 +0100 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-03-28 21:39:04 +0100 |
| commit | 903f0d9ca388533ab44615e414379fa5b305a7d1 (patch) | |
| tree | d4225b3b07e11792d06660b31da97f786b5578e9 /servers/gitlab_glab/tests/test_main.py | |
| parent | 1745749cd2745c94c3f852e9c02dfde19d8d9c20 (diff) | |
Add basic glab mcp server
Diffstat (limited to 'servers/gitlab_glab/tests/test_main.py')
| -rw-r--r-- | servers/gitlab_glab/tests/test_main.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/servers/gitlab_glab/tests/test_main.py b/servers/gitlab_glab/tests/test_main.py new file mode 100644 index 0000000..2302018 --- /dev/null +++ b/servers/gitlab_glab/tests/test_main.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 +"""Tests for the GitLab CLI MCP server main module.""" + + + +class TestMain: + """Tests for the main module.""" + + def test_main_module_import(self) -> None: + """Test main module can be imported.""" + # Simply import the module to ensure it can be imported without errors + import mcp_server_gitlab_glab.__main__ + + # Verify the module has the expected attributes + assert hasattr(mcp_server_gitlab_glab.__main__, "run_server") |
