Don't access mock's attribute directly especially when it's not needed
Change-Id: I0df2f7110301c096762396fb23e49a081d051f3b
This commit is contained in:
parent
c24c3f4c90
commit
b21a88603e
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user