fix: make tests version-agnostic to prevent future breakage

- Remove hardcoded version checks in test_server.py
- Update test_config.py to check version format instead of specific value
- Tests now validate structure/format rather than exact versions
- Prevents test failures when bumping versions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-09 05:36:38 +04:00
parent 4edbf0abb1
commit bccde9307f
2 changed files with 17 additions and 4 deletions

View File

@@ -92,6 +92,6 @@ class TestServerTools:
assert len(result) == 1
response = result[0].text
assert "Gemini MCP Server v2.4.1" in response
assert "Gemini MCP Server v" in response # Version agnostic check
assert "Available Tools:" in response
assert "think_deeper" in response