From e59cbdd4a31d0984d47580cea24854b7f6dbc873 Mon Sep 17 00:00:00 2001 From: K Siva Prasad Reddy Date: Wed, 6 Dec 2023 17:34:31 +0530 Subject: [PATCH] Update content --- .../getting-started-with-testcontainers-for-python/index.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/getting-started-with-testcontainers-for-python/index.adoc b/guide/getting-started-with-testcontainers-for-python/index.adoc index 17588e5..ff452a6 100644 --- a/guide/getting-started-with-testcontainers-for-python/index.adoc +++ b/guide/getting-started-with-testcontainers-for-python/index.adoc @@ -146,6 +146,10 @@ In the *setup()* fixture function, we are starting the PostgreSQL container and In the *setup_data()* fixture function, we are deleting all the records in the *customers* table. This is a *function* scoped fixture, which will be executed before running every test. +[NOTE] +As of now Testcontainers for Python does not yet implement automatic resource cleanup using https://github.com/testcontainers/moby-ryuk[Ryuk], +so we are explicitly removing the created container using a finalizer. + Now let's implement the tests as follows: [source,python]