Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-12 | conftest: add docs and tests regarding CiTestCase's subp functionality (#343) | Daniel Watkins | |
And raise TypeError when subp called with no args, which more accurately mirrors normal behaviour: >>> from cloudinit.util import subp >>> subp() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: subp() missing 1 required positional argument: 'args' | |||
2020-04-23 | conftest: introduce disable_subp_usage autouse fixture (#304) | Daniel Watkins | |
This mirrors the behaviour of CiTestCase.allowed_subp, by causing all calls to util.subp to raise an AssertionError. |