From 903f0d9ca388533ab44615e414379fa5b305a7d1 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Fri, 28 Mar 2025 21:39:04 +0100 Subject: Add basic glab mcp server --- servers/gitlab_glab/tests/test_main.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 servers/gitlab_glab/tests/test_main.py (limited to 'servers/gitlab_glab/tests/test_main.py') 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") -- cgit v1.2.3