def test_update_node_not_found(self):
    node_uuid = uuidutils.generate_uuid()
    new_extra = {'foo': 'bar'}
    self.assertRaises(exception.NodeNotFound, self.dbapi.update_node, node_uuid, {'extra': new_extra})
def test_update_node_not_found(self):
    node_uuid = uuidutils.generate_uuid()
    new_extra = {'foo': 'bar'}
    self.assertRaises(exception.NodeNotFound, self.dbapi.update_node, node_uuid, {'extra': new_extra})