test_download_error_invalid_path_relative() — langchain Function Reference
Architecture documentation for the test_download_error_invalid_path_relative() function in sandboxes.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 77702ff3_5863_c70b_4a40_d3c292c9fdc5["test_download_error_invalid_path_relative()"] 44713bb8_64c7_b8af_22f9_b6db34868592["SandboxIntegrationTests"] 77702ff3_5863_c70b_4a40_d3c292c9fdc5 -->|defined in| 44713bb8_64c7_b8af_22f9_b6db34868592 style 77702ff3_5863_c70b_4a40_d3c292c9fdc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/standard-tests/langchain_tests/integration_tests/sandboxes.py lines 340–356
def test_download_error_invalid_path_relative(
self,
sandbox_backend: SandboxBackendProtocol,
) -> None:
"""Downloading a relative path should fail with `error="invalid_path"`."""
if not self.has_sync:
pytest.skip("Sync tests not supported.")
responses = sandbox_backend.download_files(["relative/path.txt"])
assert responses == [
FileDownloadResponse(
path="relative/path.txt",
content=None,
error="invalid_path",
)
]
Domain
Subdomains
Source
Frequently Asked Questions
What does test_download_error_invalid_path_relative() do?
test_download_error_invalid_path_relative() is a function in the langchain codebase, defined in libs/standard-tests/langchain_tests/integration_tests/sandboxes.py.
Where is test_download_error_invalid_path_relative() defined?
test_download_error_invalid_path_relative() is defined in libs/standard-tests/langchain_tests/integration_tests/sandboxes.py at line 340.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free