

def test_port_action_update_port(self):
    fake_port = {
        'id': 'foo_port_id',
        'port': mock.Mock(),
    }
    self._test__port_action_good_action('update_port', fake_port, mock.call.update_port(mock.ANY, 'foo_port_id', mock.ANY))

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/api/rpc/handlers/test_dhcp_rpc.py TestDhcpRpcCallback.test_port_action_update_port/original