From e13c84bada694cd02ffc070550f653ad9afa2c6d Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 5 Nov 2020 18:47:59 +1030 Subject: [PATCH] Fix tests --- gns3server/utils/application_id.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/utils/application_id.py b/gns3server/utils/application_id.py index 74dba03c..b09bcb2b 100644 --- a/gns3server/utils/application_id.py +++ b/gns3server/utils/application_id.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from gns3server.compute.compute_error import ComputeError +from gns3server.controller.controller_error import ControllerError import logging log = logging.getLogger(__name__) @@ -44,4 +44,4 @@ def get_next_application_id(projects, computes): application_id = (pool - used).pop() return application_id except KeyError: - raise ComputeError("Cannot create a new IOU node (limit of 512 nodes across all opened projects using the same computes)") + raise ControllerError("Cannot create a new IOU node (limit of 512 nodes across all opened projects using the same computes)")