diff options
author | Chris Patterson <cpatterson@microsoft.com> | 2023-04-11 15:35:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 13:35:07 -0600 |
commit | a664b712ab21c035e53051d9a98dd31fa9945e7e (patch) | |
tree | 21a51e5b942cf0976f7f5676833e5d9de45074ff | |
parent | 250280ada67995a8449b64027b879d01939d2729 (diff) | |
download | cloud-init-git-a664b712ab21c035e53051d9a98dd31fa9945e7e.tar.gz |
tox.ini: set -vvvv --showlocals for pytest (#2104)
Test failures may have truncated assertions using `...` in some
output.
Increase verbosity and print locals to help with triaging failures
caught in CI, particularly as some environments may not be readily
testable locally.
Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -141,6 +141,7 @@ commands = deps = -r{toxinidir}/test-requirements.txt commands = {envpython} -m pytest \ + -vvvv --showlocals \ --durations 10 \ -m "not hypothesis_slow" \ {posargs:--cov=cloudinit --cov-branch tests/unittests} |