Spaces:
Running
Running
Download src/backend/tests/unit/utils/test_connection_string_parser.py from opendigital/agent-flow: direct link, hf CLI and curl.
- Browser
- Download file 873 Bytes
-
https://huggingface.co/spaces/opendigital/agent-flow/resolve/main/src/backend/tests/unit/utils/test_connection_string_parser.py
- Command line
-
hf download hf://spaces/opendigital/agent-flow/src/backend/tests/unit/utils/test_connection_string_parser.py
-
curl -L -o test_connection_string_parser.py https://huggingface.co/spaces/opendigital/agent-flow/resolve/main/src/backend/tests/unit/utils/test_connection_string_parser.py
873 Bytes
| import pytest | |
| from langflow.utils.connection_string_parser import transform_connection_string | |
| def test_transform_connection_string(connection_string, expected): | |
| result = transform_connection_string(connection_string) | |
| assert result == expected | |