Skip to main content
Glama

LinkedIn Content Creation MCP Server

by chrishayuk
test_stats_grid.pyβ€’1.07 kB
"""Tests for StatsGrid component.""" from chuk_mcp_linkedin.posts.components.features.stats_grid import StatsGrid class TestStatsGridInitialization: def test_init(self): component = StatsGrid({"Metric": "100"}) assert component.stats == {"Metric": "100"} class TestStatsGridRender: def test_render(self): component = StatsGrid({"Metric": "100"}) result = component.render() assert "Metric" in result assert "100" in result def test_render_with_title(self): component = StatsGrid({"M1": "V1", "M2": "V2"}, title="Performance Metrics") result = component.render() assert "PERFORMANCE METRICS" in result assert "πŸ“Š" in result assert "M1" in result assert "V1" in result class TestStatsGridValidation: def test_validate_valid(self): component = StatsGrid({"M1": "V1", "M2": "V2"}) assert component.validate() is True def test_validate_empty(self): component = StatsGrid({}) assert component.validate() is False

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-linkedin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server