Releases: filipsnastins/tomodachi-testcontainers
1.2.3
Maintenance
- Updates pytest-asyncio to 0.24.0.
Using'loop_scope="session"
. - Dependency updates.
1.2.2
Maintenance
- Development scripts moved from the Poetry scripts to Makefile.
Unnecessary development scripts are no longer packaged as part of the library. - Dependency updates.
- Extended
pylint
config and addedpydocstringformatter
linter.
1.2.1
Maintenance
- (#306) Bump
testcontainers-python
to4.4.1
.
1.2.0
New features
- (#305) Adds
<CONTAINER-NAME>_TESTCONTAINER_DISABLE_LOGGING
environment variable to selectively disable logging capture and forwarding for specific containers. The use case is that some containers, like Moto, output logs that are not immediately useful for debugging. Example usage:MOTO_TESTCONTAINER_DISABLE_LOGGING=1
.
1.1.3
1.1.2
Maintenance
- (#242) Drop Python 3.8 support.
- (#242) Update testcontainers-python to
4.0.0
.
1.1.1
1.1.0
New features
- (#180)
clients.SNSSQSTestClient
:SNSSQSTestClient.receive
now returns message attributes.
The returned message is now wrapped in aSQSMessage
dataclass, containing thepayload
andmessage_attributes
fields.
It's a small breaking change for clients that use thereceive
method, because the message's payload is now wrapped in thepayload
attribute.
1.0.1
1.0.0
New features
-
New documentation available at https://filipsnastins.github.io/tomodachi-testcontainers/
-
WireMockContainer
: addswiremock_container
pytest fixture. -
WireMockContainer
: addsreset_wiremock_container_on_teardown
pytest fixture that deletes all WireMock stub mappings after each test. -
edge_port
in all Testcontainers now defaults toNone
.
When it'sNone
, the container will be started with a random port generated bytomodachi_testcontainers.utils.get_available_port()
. -
tomodachi_testcontainers.pytest
module removed, and the code moved one level up:tomodachi_testcontainers.fixtures
tomodachi_testcontainers.assertions
tomodachi_testcontainers.async_probes
Breaking changes
-
Removed the leading underscore from
restart_localstack_container_on_teardown
andreset_moto_container_on_teardown
pytest fixture names. -
Fixtures
moto_snssqs_tc
andlocalstack_snssqs_tc
are now session-scoped (@pytest.fixture(scope="session")
). -
Fixture
testcontainers_docker_image
renamed totestcontainer_image
. -
Renamed environment variables:
Old name New name TOMODACHI_TESTCONTAINER_DOCKER_NETWORK
TESTCONTAINER_DOCKER_NETWORK
TOMODACHI_TESTCONTAINER_DOCKERFILE_PATH
TESTCONTAINER_DOCKERFILE_PATH
TOMODACHI_TESTCONTAINER_DOCKER_BUILD_CONTEXT
TESTCONTAINER_DOCKER_BUILD_CONTEXT
TOMODACHI_TESTCONTAINER_DOCKER_BUILD_TARGET
TESTCONTAINER_DOCKER_BUILD_TARGET
TOMODACHI_TESTCONTAINER_IMAGE_ID
TESTCONTAINER_IMAGE_ID