langflow/src/backend/tests/integration/components/mcp/test_mcp_component.py
Yuqi Tang d84ea5c9b7
Feat: move other tools to different folders (#8164)
* delete data and transfer data to dataframe

* [autofix.ci] apply automated fixes

* create a new bundle for search

* fix type for dataframe

* add data_to_dataframe function

* [autofix.ci] apply automated fixes

* fix test because of files movement

* delete message and text

* json update

* fix search yahoo test

* fix run_model output type

* add tavily bundle

* move other tools

* [autofix.ci] apply automated fixes

* add tavily bundle

* move other tools

* [autofix.ci] apply automated fixes

* update python repl import path

* autofix

* fix test

* fix frontend test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-05-27 17:56:59 +00:00

11 lines
292 B
Python

from tests.integration.utils import run_single_component
async def test_mcp_component():
from langflow.components.data.mcp_component import MCPToolsComponent
inputs = {}
await run_single_component(
MCPToolsComponent,
inputs=inputs, # test default inputs
)