mintel / pytest-localstack

Pytest plugin for local AWS integration tests
MIT License
78 stars 18 forks source link

Helpful Hint - the session_fixture takes a localstack_version #31

Open rpattcorner opened 4 years ago

rpattcorner commented 4 years ago

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.