summaryrefslogtreecommitdiff
path: root/servers/gitlab_glab/tests/test_main.py
blob: 230201811d190aeca81a2af2b2c4e92d836590f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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")