1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 10:18:10 +00:00

Fix tests

This commit is contained in:
grossmj 2020-11-05 18:47:59 +10:30
parent 841b013223
commit e13c84bada

View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
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)")