Add missing unit test coverage, that unveiled the issue.
Closes-Bug:
1227247
Change-Id: I0d5a3b637d86308d82bf96bdb07928b19fd1b284
"%(tenant_id)s: (%(id)s)"), port_data)
self._process_portbindings_create_and_update(context,
- port, port_data)
+ port['port'],
+ port_data)
# DB Operation is complete, perform NVP operation
try:
port_data = port['port'].copy()
self._process_portbindings_create_and_update(context,
port['port'],
- port)
+ ret_port)
return ret_port
def delete_port(self, context, id, l3_port_check=True,
class TestNiciraPortsV2(NiciraPluginV2TestCase,
test_plugin.TestPortsV2,
- test_bindings.PortBindingsTestCase):
+ test_bindings.PortBindingsTestCase,
+ test_bindings.PortBindingsHostTestCaseMixin):
VIF_TYPE = portbindings.VIF_TYPE_OVS
HAS_PORT_FILTER = True