You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
Alex Willmer 163819efa2
tests: Fix `test_ansible_version()` when run within a git checkout (#78636)
When running the unit tests locally, in a git clone, `ansible --test`
prints additional information about the git revision, e.g.

```
~/src/ansible$ ansible --version
ansible 2.10.8
...
~/src/ansible$ source hacking/env-setup
...

Setting up Ansible to run out of checkout...
...
~/src/ansible$ ansible --version
[WARNING]: You are running the development version of Ansible. You
should only run Ansible from "devel" if you are modifying the Ansible
engine, or trying out features under development. This is a rapidly
changing source of code and can become unstable at any point.
ansible [core 2.14.0.dev0] (test_ansible_version-devel df497ea13b) last
updated 2022/08/25 10:37:07 (GMT +100)
...
```

which causes `test_ansible_version()` to fail.

Also removed an unused argument from previous parameterisation.

Co-authored-by: Alex Willmer <alex.willmer@cgi.com>
2 years ago
..
ansible_test ansible-test - Move code from _data to _util. (#75495) 3 years ago
integration vault secrets file, keep context when symlink (#78734) 2 years ago
lib/ansible_test ansible-test - Update pylint to 2.15.3. (#78811) 2 years ago
sanity Update docs-build and rstcheck sanity tests. (#78773) 2 years ago
support Remove incidental_inventory_foreman test. 2 years ago
units tests: Fix `test_ansible_version()` when run within a git checkout (#78636) 2 years ago
utils/shippable Update test matrix symlinks. (#78737) 2 years ago