File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 161161
162162intersphinx_mapping = {
163163 "python" : ("https://docs.python.org/3" , None ),
164- "selenium" : ("https://seleniumhq.github.io /selenium/docs/api/py/" , None ),
164+ "selenium" : ("https://www.selenium.dev /selenium/docs/api/py/" , None ),
165165 "typing_extensions" : ("https://typing-extensions.readthedocs.io/en/latest/" , None ),
166166}
167167
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ Testcontainers Core
1414
1515.. autoclass :: testcontainers.core.generic.DbContainer
1616
17+ .. autoclass :: testcontainers.core.wait_strategies.WaitStrategy
18+
1719.. raw :: html
1820
1921 <hr >
Original file line number Diff line number Diff line change @@ -528,14 +528,14 @@ def wait_for(self, url: str) -> "DockerCompose":
528528
529529 Example:
530530 # Simple URL wait (legacy style)
531- compose.wait_for("http://localhost:8080")
532-
531+ compose.wait_for("http://localhost:8080") \
532+ \
533533 # For more complex scenarios, use structured wait strategies:
534- from testcontainers.core.waiting_utils import HttpWaitStrategy, LogMessageWaitStrategy
535-
536- compose.waiting_for({
537- "web": HttpWaitStrategy(8080).for_status_code(200),
538- "db": LogMessageWaitStrategy("database system is ready to accept connections")
534+ from testcontainers.core.waiting_utils import HttpWaitStrategy, LogMessageWaitStrategy \
535+ \
536+ compose.waiting_for({ \
537+ "web": HttpWaitStrategy(8080).for_status_code(200), \
538+ "db": LogMessageWaitStrategy("database system is ready to accept connections") \
539539 })
540540 """
541541 import time
You can’t perform that action at this time.
0 commit comments