Fix test suite after VPCS changes for using ubridge

This commit is contained in:
Julien Duponchelle committed 2016-06-23 12:10:18 +02:00
1 parent 852d8e411e
commit 4c3bfde97e
6 files changed
+25 -15

No files matched your search

+3
View File
@@ -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)