def METHOD_NAME(request, docker_compose_cm, retrying_requests):
    with docker_compose_cm(
        docker_compose_yml=os.path.join(
            os.path.dirname(request.fspath), "networked-docker-compose.yml"
        ),
        network_name="network",
    ) as docker_compose:
        assert "network" in subprocess.check_output(["docker", "network", "ls"]).decode()
        assert retrying_requests.get(f"http://{docker_compose['server']}:8000").ok