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