def setup(request): compose = DockerCompose(os.path.join(os.path.dirname(__file__), "..")) compose.start() compose.wait_for("http://localhost:8086")
def test_compose_wait_for_container_ready(): compose = DockerCompose(os.path.dirname(__file__)) with compose: compose.wait_for("http://localhost:4444/wd/hub")