Skip to main content
Glama

LinkedIn Content Creation MCP Server

by chrishayuk
test_big_stat.py1.19 kB
"""Tests for BigStat component.""" from chuk_mcp_linkedin.posts.components.features.big_stat import BigStat class TestBigStatInitialization: def test_init(self): component = BigStat("99%", "Success Rate") assert component.number == "99%" assert component.label == "Success Rate" class TestBigStatRender: def test_render(self): component = BigStat("100", "Users") result = component.render() assert "100" in result assert "Users" in result def test_render_with_context(self): component = BigStat("100", "Users", context="This is great progress") result = component.render() assert "100" in result assert "Users" in result assert "This is great progress" in result class TestBigStatValidation: def test_validate_valid(self): component = BigStat("50", "Metric") assert component.validate() is True def test_validate_empty_number(self): component = BigStat("", "Metric") assert component.validate() is False def test_validate_empty_label(self): component = BigStat("100", "") 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