def test_destroy_node_by_uuid(self):
    node = utils.create_test_node()
    self.dbapi.destroy_node(node.uuid)
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_uuid, node.uuid)
def test_destroy_node_by_uuid(self):
    node = utils.create_test_node()
    self.dbapi.destroy_node(node.uuid)
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_uuid, node.uuid)