neutron/neutron/tests/unit/vmware
Wei Wang e2066f34e1 Use "if dict.get(key):" instead "if key in dict and dict[key]:"
Use "if dict.get(key):" instead of "if key in dict and dict[key]:"
which makes code more clear and intelligible. Note this patch doesn't
change judging conditions, all "is not None" are retained.

Change-Id: Ieed57a21eb4b08c6f9a25b180a3625154a0d5fde
2015-01-12 14:05:54 -08:00
..
apiclient Migrate to oslo.i18n 2014-11-26 22:19:24 +01:00
db Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
etc Refresh rpc_backend values in unit tests to those from oslo.messaging 2014-08-22 11:02:25 +02:00
extensions Use "if dict.get(key):" instead "if key in dict and dict[key]:" 2015-01-12 14:05:54 -08:00
nsxlib switch to oslo.serialization 2014-11-14 09:28:12 +00:00
vshield Remove NSX 'service' plugin 2014-12-19 10:18:55 +01:00
test_agent_scheduler.py Make sure we call BaseTestCase.setUp() first 2014-06-17 21:56:24 +02:00
test_dhcpmeta.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_nsx_opts.py NSX: Make conn_idle_timeout configurable 2014-10-16 04:20:06 -07:00
test_nsx_plugin.py Use "if dict.get(key):" instead "if key in dict and dict[key]:" 2015-01-12 14:05:54 -08:00
test_nsx_sync.py switch to oslo.serialization 2014-11-14 09:28:12 +00:00
test_nsx_utils.py Make _build_uri_path output predictable 2014-08-05 13:47:03 +00:00