ansible/test/lib/ansible_test/_data
Tadej Borovšak 74a103d655 Remove em dash from the pytest configuration file
On some systems (tested with official Debian Buster-based Python 3.6
docker image), setting the LC_ALL environment variable to en_US.UTF-8
will trigger Python into switching its preferred encoding to ASCII.
If any python process tries to read a non-ASCII file in this scenario,
it will terminate with an error.

And this is exactly what happens to pytest when it tries to load its
configuration that ansible-test supplies because the configuration
contains an em dash.

In order to bypass this issue, we replaced the em dash with a regular
dash and things started working again.

An alternative solution would be to replace the en_US.UTF-8 locale with
something safer, but unfortunately, the en_US.UTF-8 is probably as safe
as it gets.
2020-09-14 09:02:48 -07:00
..
cli Prepare ansible-test for inclusion in setup.py (#60294) 2019-08-08 16:14:19 -07:00
completion [tests] Bump container versions (#71518) 2020-09-02 11:20:55 -05:00
injector Code cleanup in ansible-test. 2020-05-15 18:17:11 -07:00
playbooks Internally redirect win modules to collection name (#68317) 2020-03-23 11:14:21 -05:00
pytest/plugins fix collection package root location under pytest >=6.0.0 (#70963) 2020-08-03 17:31:32 -07:00
requirements Force an upgrade to a newer version of antsibull 2020-08-14 13:01:29 -07:00
sanity Add support for non-yaml EXAMPLES (#71184) 2020-08-12 09:17:45 -05:00
setup Support macOS 10.15 for ansible-test --remote. 2020-08-27 15:48:11 -07:00
ansible.cfg Update ansible-test integration config handling. (#60448) 2019-08-13 13:18:55 -07:00
collection_detail.py Add deprecated removed_in_version and deprecated_aliases version tests (#66920) 2020-05-13 13:58:09 -07:00
coveragerc Move ansible-test coverage config to test/lib/ 2019-08-07 18:32:46 -07:00
cryptography-constraints.txt Fix ansible-test requirements installation. 2020-03-29 08:46:25 -07:00
inventory Update ansible-test collection inventory handling. (#61031) 2019-08-21 12:12:37 -07:00
pytest.ini Remove em dash from the pytest configuration file 2020-09-14 09:02:48 -07:00
quiet_pip.py Fix ansible-test pip filter on Fedora 32. 2020-06-10 09:37:01 -07:00
versions.py Ignore warnings in ansible-test environment check. 2020-01-13 16:16:55 -08:00
virtualenvcheck.py Work around virtualenv/venv issue in ansible-test. (#62111) 2019-09-10 19:27:12 -07:00
yamlcheck.py