Fix misuse of assertTrue in L3 DVR test case

Replace assertTrue with assertEqual in a private method
for unit tests.

Change-Id: I15fedf067f01c3993830b8c38b521d0dfd0c7740
Closes-Bug: #1603712
This commit is contained in:
Takashi NATSUME 2016-07-17 10:13:37 +09:00
parent 2079780b53
commit adbcdeb975

@ -625,7 +625,7 @@ class L3DvrTestCase(test_db_base_plugin_v2.NeutronDbPluginV2TestCase):
elif action == 'del':
self.mixin.delete_arp_entry_for_dvr_service_port(
self.ctx, port)
self.assertTrue(3, l3_notify.del_arp_entry.call_count)
self.assertEqual(3, l3_notify.del_arp_entry.call_count)
def test_update_arp_entry_for_dvr_service_port_added(self):
action = 'add'