ansible/test/units/parsing
Matt Martz 5941e4c843
Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602)
* Properly JSON encode AnsibleUnsafe, using a pre-processor. Fixes #47295

* Add AnsibleUnsafe json tests

* Require preprocess_unsafe to be enabled for that functionality

* Support older json

* sort keys in tests

* Decouple AnsibleJSONEncoder from isinstance checks in preparation to move to module_utils

* Move AnsibleJSONEncoder to module_utils, consolidate instances

* add missing boilerplate

* remove removed.py from ignore
2019-08-26 09:08:22 -05:00
..
fixtures lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 2019-05-17 23:29:42 -07:00
utils Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
vault Update units to pass on macOS (#60435) 2019-08-12 15:13:07 -05:00
yaml Handle vaulted non-ascii characters for Python2 (#58503) 2019-06-28 13:23:15 -04:00
__init__.py
test_ajson.py Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 2019-08-26 09:08:22 -05:00
test_dataloader.py dataloader: unit tests (#50942) 2019-01-22 09:51:27 -05:00
test_metadata.py Correct places where match was intended 2019-07-18 17:10:58 -07:00
test_mod_args.py various mod_args fixes (#60290) 2019-08-13 09:57:49 +01:00
test_splitter.py Add unit tests 2018-09-28 19:19:58 +02:00
test_unquote.py