pytest-localstack icon indicating copy to clipboard operation
pytest-localstack copied to clipboard

Helpful Hint - the session_fixture takes a localstack_version

Open rpattcorner opened this issue 5 years ago • 0 comments

By default pytest-localstack fetches the latest localstack At times there's a defect in localstack that can create a problem After some research it appears that the session_fixture will accept a localstack version to pull down, allowing a temporary respite

localstack_version = "0.11.1"
localstack_fixture = pytest_localstack.session_fixture(scope="module", services=["iam", "sts"],
                                                            localstack_version=localstack_version)

There in plain sight, but took some time to find

Not sure if this project is still maintained -- hope so.

rpattcorner avatar Jul 19 '20 19:07 rpattcorner