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

Function test_git_repository

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

Source from the content-addressed store, hash-verified

29
30
31async def test_git_repository():
32 repo = dag.git("https://github.com/dagger/dagger").tag("v0.3.0").tree()
33 readme = await repo.file("README.md").contents()
34
35 assert readme.split("\n")[0] == "## What is Dagger?"
36
37
38async def test_container_build():

Callers

nothing calls this directly

Calls 5

treeMethod · 0.45
tagMethod · 0.45
gitMethod · 0.45
contentsMethod · 0.45
fileMethod · 0.45

Tested by

no test coverage detected