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/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
5 years ago
..
fixtures lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 6 years ago
utils Update bare exceptions to specify Exception. 6 years ago
vault Update units to pass on macOS (#60435) 5 years ago
yaml Handle vaulted non-ascii characters for Python2 (#58503) 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_ajson.py Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 5 years ago
test_dataloader.py dataloader: unit tests (#50942) 6 years ago
test_metadata.py Correct places where match was intended 5 years ago
test_mod_args.py various mod_args fixes (#60290) 5 years ago
test_splitter.py Add unit tests 6 years ago
test_unquote.py Switch tests to pytest and ansible-test. 8 years ago