MCPcopy 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
145async def test_host_directory():
146 readme = await dag.host().directory(".").file("README.md").contents()
147 assert "Dagger" in readme
148
149
150async def test_object_sequence(alpine_image: str, tmp_path: pathlib.Path):

Callers

nothing calls this directly

Calls 4

hostMethod · 0.80
contentsMethod · 0.45
fileMethod · 0.45
directoryMethod · 0.45

Tested by

no test coverage detected