Salome HOME
fixed incorrect call to salome.salome_init()
[modules/shaper.git] / src / ConnectorAPI / Test / TestExportSTL.py
index a033bfe27bc1e88830347ff179547265d2658589..39695139cf6ceb7b07885d7387bbd03e3c396795 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -26,6 +26,7 @@
 #=========================================================================
 
 import salome
+salome.standalone()
 
 import os
 import math
@@ -43,7 +44,7 @@ from GeomAlgoAPI import *
 
 __updated__ = "2015-05-22"
 
-salome.salome_init(1)
+salome.salome_init(embedded=True)
 geompy = geomBuilder.New()
 
 #=========================================================================