We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80373e commit 7c847d8Copy full SHA for 7c847d8
pytest_docker_tools/wrappers/container.py
@@ -92,6 +92,8 @@ def ready(self):
92
ports = self._container.attrs["NetworkSettings"]["Ports"]
93
for port, listeners in ports.items():
94
if not listeners:
95
+ if port in (self._container.attrs["HostConfig"]["PortBindings"] or []):
96
+ return False
97
continue
98
99
port, proto = port.split("/")
0 commit comments