Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ test_host_directory
Function
test_host_directory
sdk/python/tests/client/test_integration.py:145–147 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
143
144
145
async
def
test_host_directory():
146
readme = await dag.host().directory(
"."
).file(
"README.md"
).contents()
147
assert
"Dagger"
in readme
148
149
150
async
def
test_object_sequence(alpine_image: str, tmp_path: pathlib.Path):
Callers
nothing calls this directly
Calls
4
host
Method · 0.80
contents
Method · 0.45
file
Method · 0.45
directory
Method · 0.45
Tested by
no test coverage detected