1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/v2/test/parsing
Toshio Kuratomi 43c1a97447 Various unicode and backslash escape cleanups
* Do backslash escape parsing in parse_kv() [was being done in the copy
  module purely for newlines in the copy module's content param before]
* Make parse_kv always return unicode
* Add bandaid to transform args to unicode until we can fix things
  calling parse_kv to always send it unicode.
* Make split_args deal with unicode internally.  Warning, no bandaid for
  things calling split_args without giving it unicode (shouldn't matter
  as dealt with str internally before)
* Fix copy and unarchive action plugins to not use setdefaultencoding
* Remove escaping from copy (it was broken and made content into latin-1
  sometimes). escaping is now in parse_kv.
* Expect that content is now a unicode string so transform to bytes just
  before writing to the file.
* Add initial unittests for split_args and parse_kv.  4 failing
  tests.because split_args is injecting extra newlines.
2015-03-30 19:19:34 -07:00
..
vault Add copyright and py3 compat header 2014-10-28 20:40:39 -04:00
__init__.py Give all v2 tests the python3 compat boilerplate 2014-10-15 19:25:48 -04:00
test_data_loader.py Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
test_mod_args.py Adding new playbook objects for v2 2014-11-05 21:13:47 -06:00
test_splitter.py Various unicode and backslash escape cleanups 2015-03-30 19:19:34 -07:00