ansible/test/units/module_utils
Brian Coca db83d420af jsonify inventory (#32990)
* jsonify inventory
* smarter import, dont pass kwargs where not needed
* added datetime
* Eventual plan for json utilities to migrate to common/json_utils when we split
  basic.py no need to move jsonify to another file now as we'll do that later.
* json_dict_bytes_to_unicode and json_dict_unicode_to_bytes will also
  change names and move to common/text.py at that time (not to json).
  Their purpose is to recursively change the elements of a container
  (dict, list, set, tuple) into text or bytes, not to json encode or
  decode (they could be a generic precursor to that but are not limited
  to that.)
* Reimplement the private _SetEncoder which changes sets and datetimes
  into objects that are json serializable into a private function
  instead.  Functions are more flexible, less overhead, and simpler than
  an object.
* Remove code that handled simplejson-1.5.x and earlier.  Raise an error
  if that's the case instead.
  * We require python-2.6 or better which has the json module builtin to
    the stdlib.  So this is only an issue if the stdlib json has been
    overridden by a third party module and the simplejson on the system
    is 1.5.x or less.  (1.5 was released on 2007-01-18)
(cherry picked from commit ebd08d2a01)
2017-11-21 13:44:51 -08:00
..
aws aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
basic add custom module type validation (#27183) 2017-07-26 16:12:50 -07:00
cloud [cloud] Add more configurable backoff implementations to CloudRetry/AWSRetry (#27251) 2017-08-08 08:56:46 -04:00
ec2 AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
facts Make ansible_selinux facts a consistent type (#31065) 2017-10-05 09:19:56 -04:00
gcp Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
json_utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_aci.py Update aci tests for new messages from lxml-4.0+ 2017-09-17 19:06:30 -07:00
test_basic.py jsonify inventory (#32990) 2017-11-21 13:44:51 -08:00
test_database.py Revert "Update galaxy and database unit tests." 2017-02-09 15:19:01 -08:00
test_distribution_version.py Fix 'distribution' fact for ArchLinux (#30723) 2017-09-25 15:06:05 -04:00
test_known_hosts.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_network_common.py adds new filter plugins for network use cases (#27695) 2017-08-04 07:47:12 -04:00
test_postgresql.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_text.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00