MCPcopy Create free account
hub / github.com/dagger/dagger / test_container_build

Function test_container_build

sdk/python/tests/client/test_integration.py:38–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37
38async def test_container_build():
39 dagger_img = (
40 await dag.git("https://github.com/dagger/dagger")
41 .tag("v0.3.0")
42 .tree()
43 .docker_build()
44 )
45
46 out = await dagger_img.with_exec(["dagger", "version"]).stdout()
47
48 words = out.strip().split(" ")
49
50 assert words[0] == "dagger"
51
52
53async def test_input_arg(alpine_image: str):

Callers

nothing calls this directly

Calls 6

docker_buildMethod · 0.80
treeMethod · 0.45
tagMethod · 0.45
gitMethod · 0.45
stdoutMethod · 0.45
with_execMethod · 0.45

Tested by

no test coverage detected