mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix test suite after VPCS changes for using ubridge
This commit is contained in:
6 files changed
+25
-15
No files matched your search
@@ -108,6 +108,9 @@ class VPCSVM(BaseNode):
|
||||
if not path:
|
||||
raise VPCSError("No path to a VPCS executable has been set")
|
||||
|
||||
# This raise an error if ubridge is not available
|
||||
ubridge_path = self.ubridge_path
|
||||
|
||||
if not os.path.isfile(path):
|
||||
raise VPCSError("VPCS program '{}' is not accessible".format(path))
|
||||
|
||||
|
||||
@@ -104,4 +104,3 @@ class DrawingHandler:
|
||||
project = controller.get_project(request.match_info["project_id"])
|
||||
yield from project.delete_drawing(request.match_info["drawing_id"])
|
||||
response.set_status(204)
|
||||
|
||||
Reference in new issue
Block a user