Skip to content

Regex matching commands #154

@LecrisUT

Description

@LecrisUT

I want to mock specific calls to subprocess but the command inputs are varying, e.g. cmake -S/path/to/generated_data -B/random/build_path. I would thus like to use regex match these arguments and make sure other commands like cmake --build are not called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions