ansible/test/units
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
..
cli ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config fixes to config manager (#58530) 2019-07-17 10:39:30 -04:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 2018-12-04 12:32:02 -05:00
executor Fix unit tests to work with pytest >= 5.0 (#60246) 2019-08-09 14:58:46 -04:00
galaxy ansible-galaxy - Add timeout and progress indicator for publish and install (#60660) 2019-08-23 06:27:28 +10:00
inventory_test_data/group_vars
mock Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
module_utils Speed up units using time.sleep by mocking or shortening sleep time (#61064) 2019-08-21 16:52:58 -05:00
modules New options for identity_preserve (#60498) 2019-08-26 10:03:26 -04:00
parsing Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 2019-08-26 09:08:22 -05:00
playbook unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
plugins Speed up a few more tests by mocking time.sleep (#61186) 2019-08-22 14:33:34 -05:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
utils add subdir support to collection loading (#60682) 2019-08-21 10:45:04 +01:00
vars Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
__init__.py
test_constants.py
test_context.py Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00