neutron/neutron/tests/unit/vmware/nsxlib
Ihar Hrachyshka 0a75865b1f Use jsonutils instead of stdlib json
jsonutils provides multiple benefits in comparison to pure stdlib json
(like using simplejson on Python 2.6).

Similar patch was already merged before [1], but since it lacked hacking
rule to enforce jsonutils usage, new occurrences of stdlib json module
usage were introduced.

This patch switches all the code to using jsonutils and adds a hacking
rule to enforce the rule.

The hacking rule requires that jsonutils module does not mimic as 'json'
thru using import renames, so the code was updated not to rename the
module when doing import.

The hacking rule was shamelessly copied from the corresponding nova
review [2].

[1]: https://review.openstack.org/#/c/99760/
[2]: https://review.openstack.org/111296/

Change-Id: Ie7a5bb76445e15cde9fbf9ff3d2101a014637b37
2014-08-14 12:45:58 +02:00
..
__init__.py Rename Neutron core/service plugins for VMware NSX 2014-02-23 19:12:35 -08:00
base.py NSX: Correct default timeout params 2014-08-01 15:32:04 -07:00
test_l2gateway.py Make _build_uri_path output predictable 2014-08-05 13:47:03 +00:00
test_lsn.py Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
test_queue.py Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
test_router.py NSX: Optionally not enforce nat rule match length check 2014-07-14 03:52:39 -07:00
test_secgroup.py NSX: Propagate name updates for security profiles 2014-03-13 21:33:40 +00:00
test_switch.py NSX: propagate network name updates to backend 2014-06-19 05:02:09 -07:00
test_versioning.py Fix H302 violations in unit tests 2014-05-04 12:39:19 +02:00