Skip to content

Commit e59cbdd

Browse files
Update content
1 parent 8f12053 commit e59cbdd

File tree

1 file changed

+4
-0
lines changed
  • guide/getting-started-with-testcontainers-for-python

1 file changed

+4
-0
lines changed

guide/getting-started-with-testcontainers-for-python/index.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ In the *setup()* fixture function, we are starting the PostgreSQL container and
146146
In the *setup_data()* fixture function, we are deleting all the records in the *customers* table.
147147
This is a *function* scoped fixture, which will be executed before running every test.
148148

149+
[NOTE]
150+
As of now Testcontainers for Python does not yet implement automatic resource cleanup using https://github.com/testcontainers/moby-ryuk[Ryuk],
151+
so we are explicitly removing the created container using a finalizer.
152+
149153
Now let's implement the tests as follows:
150154

151155
[source,python]

0 commit comments

Comments
 (0)