test_ls_info_lists_files() — langchain Function Reference
Architecture documentation for the test_ls_info_lists_files() function in sandboxes.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD b8eed2aa_b5a4_d3e4_bdbd_fb2f6f349062["test_ls_info_lists_files()"] 44713bb8_64c7_b8af_22f9_b6db34868592["SandboxIntegrationTests"] b8eed2aa_b5a4_d3e4_bdbd_fb2f6f349062 -->|defined in| 44713bb8_64c7_b8af_22f9_b6db34868592 style b8eed2aa_b5a4_d3e4_bdbd_fb2f6f349062 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/standard-tests/langchain_tests/integration_tests/sandboxes.py lines 132–141
def test_ls_info_lists_files(self, sandbox_backend: SandboxBackendProtocol) -> None:
"""Create files and verify `ls_info()` lists them."""
if not self.has_sync:
pytest.skip("Sync tests not supported.")
sandbox_backend.write("/tmp/test_sandbox_ops/a.txt", "a")
sandbox_backend.write("/tmp/test_sandbox_ops/b.txt", "b")
info = sandbox_backend.ls_info("/tmp/test_sandbox_ops")
paths = sorted([i["path"] for i in info])
assert "/tmp/test_sandbox_ops/a.txt" in paths
assert "/tmp/test_sandbox_ops/b.txt" in paths
Domain
Subdomains
Source
Frequently Asked Questions
What does test_ls_info_lists_files() do?
test_ls_info_lists_files() is a function in the langchain codebase, defined in libs/standard-tests/langchain_tests/integration_tests/sandboxes.py.
Where is test_ls_info_lists_files() defined?
test_ls_info_lists_files() is defined in libs/standard-tests/langchain_tests/integration_tests/sandboxes.py at line 132.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free