]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Don't access mock's attribute directly especially when it's not needed
authorEugene Nikanorov <enikanorov@mirantis.com>
Mon, 29 Jun 2015 01:45:24 +0000 (05:45 +0400)
committerenikanorov <enikanorov@mirantis.com>
Mon, 29 Jun 2015 06:57:55 +0000 (06:57 +0000)
Change-Id: I0df2f7110301c096762396fb23e49a081d051f3b

neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

index b3ab4fa3efb70a57b35ba6098dec79e7ea20e41c..34fa8bbcdfd8bea351a27a56c51e9f295cbd936d 100644 (file)
@@ -668,7 +668,6 @@ class TestOvsNeutronAgent(object):
             self.agent.local_vlan_map["netuid12345"] = lvm
             self.agent.port_unbound("vif1", "netuid12345")
             self.assertTrue(reclvl_fn.called)
-            reclvl_fn.called = False
 
             lvm.vif_ports = {}
             self.agent.port_unbound("vif1", "netuid12345")