Alex Willmer
6accc87da1
tests: Improve Ansible fail_msg formatting
...
By switching to block style (`|`) with clip (no `-` or `+`) the failure
messages don't require quoting and gain a single trailing newline. This causes
Ansible to print them as block style, when using the yaml stdout callback
plugin. As a result the values have one less layer of quoting and quote
escaping, making them much easier to read.
2 months ago
Alex Willmer
85b1b4070a
tests: Respect configured or detected Python more often
...
Relying on the virtualenv default or hardcoding "python" results in a Python
2.x virtualenv on some targets (e.g. debian10-test). This caused a failure
when testing with Ansible >= 10 (ansible-core >= 2.17), which have dropped
Python 2.x support.
refs #1074
4 months ago
Alex Willmer
2839954559
tests: Account for /tmp symlink in virtualenv test on macOS
9 months ago
Alex Willmer
526422b74b
tests: Name tasks
...
For easier grep, and easier identification in task_profiler summaries.
2 years ago
Alex Willmer
db0ffae352
tests: Enable stricter error handling, fix resulting failures
2 years ago
Alex Willmer
e194a6367f
ci: Fix version comparisons involving double digits
...
See https://gist.github.com/moreati/e7507c5b606b12ec0ddafcb7c8debbf1
3 years ago
Alex Willmer
3c58215a91
tests: Tag Ansible tests
...
This makes it easier to run subsets using ANSIBLE_RUN_TAGS=...
3 years ago
Alex Willmer
cfa5888547
tests: Print variables on failure of assert tasks
...
Fixes #852
3 years ago
Steven Robertson
bb048cc03d
accidentally deleted quotes
5 years ago
Steven Robertson
faf7798c16
revert python3 setup + add TODO; python3 tests aren't working now but python2 is EOL so they should work soon
5 years ago
Steven Robertson
1157ff6f43
try fixing mac python symlink weirdness
5 years ago
Steven Robertson
0a34d378c9
change virtualenv creation when running with python 3
5 years ago
Steven Robertson
d813092d69
revert hack done to virtualenv test
5 years ago
Steven Robertson
90d51fcbbd
'fix' test for virtualenv on mac
5 years ago
Steven Robertson
488ab3553e
upgrade ansible back to 2.9.4, and fix issue with virtualenv on Mac
5 years ago
Steven Robertson
868de4e5ba
added ability to repro current virtualenv bug behind a proxy, and adding verbosity to see why azure is unhappy
5 years ago
David Wilson
9aff8edf50
issue #477 : one more conditional test.
6 years ago
David Wilson
4f57c59b7e
issue #275 : Don't run virtualnv test on 2.6.
7 years ago
David Wilson
962ba862e9
tests: use test-targets group, not all group
7 years ago
David Wilson
b882b78d35
tests: clean up remaining reg tests
...
Delete some that are impossible to detect, fix up the remainder to
detect the condition they describe.
7 years ago
David Wilson
b247c320d2
issue #164 : rename tests for clarity
7 years ago