def test_get_node_that_does_not_exist(self):
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_id, 99)
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_uuid, '12345678-9999-0000-aaaa-123456789012')
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_name, 'spam-eggs-bacon-spam')
def test_get_node_that_does_not_exist(self):
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_id, 99)
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_uuid, '12345678-9999-0000-aaaa-123456789012')
    self.assertRaises(exception.NodeNotFound, self.dbapi.get_node_by_name, 'spam-eggs-bacon-spam')