Skip to content

Commit ee5ab80

Browse files
committed
Fix doctest
1 parent 336cb55 commit ee5ab80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/generic/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ FastAPI container that is using :code:`ServerContainer`
99

1010
>>> from testcontainers.generic import ServerContainer
1111
>>> from testcontainers.core.waiting_utils import wait_for_logs
12+
>>> from testcontainers.core.image import DockerImage
1213

1314
>>> with DockerImage(path="./modules/generic/tests/samples/fastapi", tag="fastapi-test:latest") as image:
1415
... with ServerContainer(port=80, image=image) as fastapi_server:

0 commit comments

Comments
 (0)