Skip to content

Helpful Hint - the session_fixture takes a localstack_version #31

@rpattcorner

Description

@rpattcorner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions