Test basic pipeline call.
(self, mock_pipeline)
| 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.""" |
nothing calls this directly
no outgoing calls
no test coverage detected