]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use assertFalse(observed) instead of assertEqual(False, observed)
authorHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Fri, 9 Oct 2015 14:38:27 +0000 (23:38 +0900)
committerHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Thu, 12 Nov 2015 13:50:57 +0000 (22:50 +0900)
commitae1fb6e87225900bedbc68d014369a1adaa4fcab
tree11c5aacee7338248e9866f14230c8b76383c64c3
parentabb73191ae9fe852e5cb93e0cfa3bd54967c4c52
Use assertFalse(observed) instead of assertEqual(False, observed)

The patch also improves the way in which the assertTrue (and
similarly assertFalse) are done,

We should use assertFalse not assertEqual.

Co-Authored-By: Gary Kotton <gkotton@vmware.com>
Closes-Bug: #1503074

Change-Id: I5f527ddf2ca522cdf101de2482d59f059eca010f
neutron/hacking/checks.py
neutron/tests/api/test_routers.py
neutron/tests/functional/api/test_policies.py
neutron/tests/unit/agent/test_securitygroups_rpc.py
neutron/tests/unit/db/test_db_base_plugin_v2.py
neutron/tests/unit/extensions/test_l3.py
neutron/tests/unit/extensions/test_portsecurity.py
neutron/tests/unit/hacking/test_checks.py
neutron/tests/unit/objects/qos/test_policy.py
neutron/tests/unit/test_auth.py
neutron/tests/unit/test_policy.py