Skip to content

conftest: implement partial disable_subp_usage#371

Merged
OddBloke merged 3 commits into
canonical:masterfrom
OddBloke:tests
May 21, 2020
Merged

conftest: implement partial disable_subp_usage#371
OddBloke merged 3 commits into
canonical:masterfrom
OddBloke:tests

Conversation

@OddBloke
Copy link
Copy Markdown
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
Copy Markdown
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
Comment thread cloudinit/tests/test_conftest.py Outdated
Copy link
Copy Markdown
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