MCPcopy Create free account
hub / github.com/apache/arrow / test_compose_pull_params

Function test_compose_pull_params

dev/archery/archery/docker/tests/test_docker.py:336–345  ·  view source on GitHub ↗
(arrow_compose_path)

Source from the content-addressed store, hash-verified

334
335
336def test_compose_pull_params(arrow_compose_path):
337 expected_calls = [
338 "pull --ignore-pull-failures conda-cpp",
339 "pull --ignore-pull-failures conda-python",
340 ]
341 compose = DockerCompose(arrow_compose_path, params=dict(UBUNTU='18.04'))
342 expected_env = PartialEnv(PYTHON='3.8', PANDAS='latest')
343 with assert_compose_calls(compose, expected_calls, env=expected_env):
344 compose.clear_pull_memory()
345 compose.pull('conda-python-pandas', pull_leaf=False)
346
347
348def test_compose_build(arrow_compose_path):

Callers

nothing calls this directly

Calls 5

clear_pull_memoryMethod · 0.95
pullMethod · 0.95
DockerComposeClass · 0.90
PartialEnvClass · 0.90
assert_compose_callsFunction · 0.85

Tested by

no test coverage detected