MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_call_basic

Method test_call_basic

tests/pipelines/test_pipeline.py:90–101  ·  view source on GitHub ↗

Test basic pipeline call.

(self, mock_pipeline)

Source from the content-addressed store, hash-verified

88 return Pipeline(operations=valid_operations, logger=mock_logger)
89
90 def test_call_basic(self, mock_pipeline):
91 """Test basic pipeline call."""
92 data = [
93 {
94 "conversations": [
95 {"from": "human", "value": "Q"},
96 {"from": "gpt", "value": "A"},
97 ]
98 }
99 ]
100 result = mock_pipeline(data)
101 assert isinstance(result, list)
102
103 def test_call_empty_data(self, mock_pipeline):
104 """Test pipeline call with empty data."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected