Skip to content

MoleculeScenario doesn't support MOLECULE_OPTS #293

@evgeni

Description

@evgeni

When using the simple molecule_scenario fixture, that generates MoleculeScenario entries, there is no way to pass --parallel or similar flags via MOLECULE_OPTS

Looking at the code MoleculeItem does support that:

# We append the additional options to molecule call, allowing user to
# control how molecule is called by pytest-molecule
opts = os.environ.get("MOLECULE_OPTS")
if opts:
cmd.extend(shlex.split(opts))

But that is not used in MoleculeScenario :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions