Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conftest: implement partial disable_subp_usage #371

Merged
merged 3 commits into from
May 21, 2020

Conversation

OddBloke
Copy link
Collaborator

This allows tests to be configured to permit some commands to be run via
util.subp, while still rejecting any unexpected calls. See the
documentation for further details.

This allows tests to be configured to permit some commands to be run via
util.subp, while still rejecting any unexpected calls.  See the
documentation for further details.
@OddBloke
Copy link
Collaborator Author

I have a concrete case for this locally which I have tested with. This change stands on its own, however, so I'm proposing it separately.

@blackboxsw blackboxsw self-assigned this May 19, 2020
Copy link
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one tiny request on the test and it can land.

Daniel Watkins and others added 2 commits May 21, 2020 10:07
Co-authored-by: Chad Smith <chad.smith@canonical.com>
@OddBloke OddBloke merged commit de9c02a into canonical:master May 21, 2020
@OddBloke OddBloke deleted the tests branch May 21, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants