]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Utilizes assertIsNone and assertIsNotNone
authorZhongyue Luo <zhongyue.nah@intel.com>
Fri, 6 Sep 2013 07:18:49 +0000 (15:18 +0800)
committerGerrit Code Review <review@openstack.org>
Thu, 3 Oct 2013 23:01:48 +0000 (23:01 +0000)
commit844e3d9c527b42a1a052fb461ff3b6ac85122aa5
treef3d79e88154c0481048b433901c514abc14c2a43
parent4f35b5f424f5f4f6c94da331b4ba47c9defb6899
Utilizes assertIsNone and assertIsNotNone

Using assertTrue and the 'is' operator to test if an element is None
is too python2.4. Our unit testing framework supports
assertIsNone and assertIsNotNone which were created
for these types of tests.

Fixes bug #1230028

Change-Id: Ia58d92c52d0aca9c22360dd44de19d4e5878ab13
neutron/tests/unit/nicira/test_nvp_api_request_eventlet.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py