Skip to content

Commit

Permalink
fix order and removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranquility2 committed Aug 18, 2024
1 parent c5333c7 commit 5170c5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/generic/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ A more advance use-case, where we are using a FastAPI container that is using Re

.. doctest::

>>> import httpx
>>> from testcontainers.generic import ServerContainer
>>> from testcontainers.redis import RedisContainer
>>> from testcontainers.core.waiting_utils import wait_for_logs
>>> from testcontainers.generic import ServerContainer

>>> with RedisContainer() as redis:
... redis_port = redis.get_exposed_port(redis.port)
Expand Down

0 comments on commit 5170c5b

Please sign in to comment.