HomeSoftware Heritage

docker/tests: simplify docker_compose fixture usage a bit

Description

docker/tests: simplify docker_compose fixture usage a bit

make it yield the docker_host on which a check_compose_output lambda has
been added; this allows users of the docker_compose fixture to use it
directly to run compose commands in addition to usual commands without
having to explicitly use the compose_cmd fixture.

Details

Provenance
douarddaAuthored on Aug 9 2022, 4:56 PM
douarddaPushed on Aug 10 2022, 9:35 AM
Differential Revision
D8225: docker/tests: rework and improve fixture usage in conftest.py, and use compose v2 if available
Parents
rDENV0f90f6629f3d: docker/tests: replace the COMPOSE_CMD const by a fixture
Branches
Unknown
Tags
Unknown