MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_create

Method test_create

tests/chat/test_models.py:284–294  ·  view source on GitHub ↗

Test creating status.

(self)

Source from the content-addressed store, hash-verified

282 """Tests for ChatStatus model."""
283
284 def test_create(self):
285 """Test creating status."""
286 status = ChatStatus(
287 provider="openai",
288 model="gpt-4",
289 tool_count=10,
290 server_count=2,
291 )
292 assert status.provider == "openai"
293 assert status.model == "gpt-4"
294 assert status.tool_count == 10
295
296 def test_to_dict(self):
297 """Test to_dict."""

Callers

nothing calls this directly

Calls 1

ChatStatusClass · 0.90

Tested by

no test coverage detected