Merge "Don't access mock's attribute directly especially when it's not needed"

This commit is contained in:
Jenkins 2015-06-30 05:19:15 +00:00 committed by Gerrit Code Review
commit 49b64ca6bc

View 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")