fix: Standardize flow name handling with snake_case conversion in MCP API (#7242)
* support spaces * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
a19ea7b5c6
commit
ee1b5494fc
3 changed files with 9 additions and 8 deletions
|
|
@ -8,7 +8,7 @@ import pytest
|
|||
import respx
|
||||
from httpx import Response
|
||||
from langflow.components.data import APIRequestComponent
|
||||
from langflow.schema import Data, DataFrame, Message
|
||||
from langflow.schema import Data, DataFrame
|
||||
|
||||
from tests.base import ComponentTestBaseWithoutClient
|
||||
|
||||
|
|
@ -146,7 +146,6 @@ class TestAPIRequestComponent(ComponentTestBaseWithoutClient):
|
|||
assert isinstance(result, Data)
|
||||
assert result.data["source"] == url
|
||||
|
||||
|
||||
@respx.mock
|
||||
async def test_make_request_timeout(self, component):
|
||||
# Test request timeout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue