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

Function pipLockMod

core/integration/module_python_test.go:2166–2175  ·  view source on GitHub ↗
(t *testctx.T, c *dagger.Client, inc []string)

Source from the content-addressed store, hash-verified

2164}
2165
2166func pipLockMod(t *testctx.T, c *dagger.Client, inc []string) dagger.WithContainerFunc {
2167 t.Helper()
2168 modSrc, err := filepath.Abs("./testdata/modules/python/pip-lock")
2169 require.NoError(t, err)
2170 return func(ctr *dagger.Container) *dagger.Container {
2171 return ctr.WithDirectory("", c.Host().Directory(modSrc, dagger.HostDirectoryOpts{
2172 Include: inc,
2173 }))
2174 }
2175}
2176
2177func (PythonSuite) TestContainerDefaultValue(ctx context.Context, t *testctx.T) {
2178 c := connect(ctx, t)

Callers 2

TestProjectLayoutMethod · 0.85
TestPipLockMethod · 0.85

Calls 3

DirectoryMethod · 0.65
HostMethod · 0.65
WithDirectoryMethod · 0.45

Tested by

no test coverage detected