Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation errors (part 2)
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
Test
/
TestPoint.py
diff --git
a/src/ConstructionPlugin/Test/TestPoint.py
b/src/ConstructionPlugin/Test/TestPoint.py
index d91d746345f18923b8fb934fcffdfa7ec5b822d1..c33cba37c25f792e2e688d38c529e5fd3a1399e9 100644
(file)
--- a/
src/ConstructionPlugin/Test/TestPoint.py
+++ b/
src/ConstructionPlugin/Test/TestPoint.py
@@
-4,7
+4,7
@@
Test case for Construction Point feature. Written on High API.
from ModelAPI import *
from GeomAPI import *
from ModelAPI import *
from GeomAPI import *
-import model
+
from salome.shaper
import model
# Get session
aSession = ModelAPI_Session.get()
# Get session
aSession = ModelAPI_Session.get()
@@
-20,7
+20,7
@@
aSession.finishOperation()
aSession.startOperation()
aPoint = model.addPoint(aDocument, 50, 50, 50)
aSession.finishOperation()
aSession.startOperation()
aPoint = model.addPoint(aDocument, 50, 50, 50)
aSession.finishOperation()
-assert (len(aPoint.result()) > 0)
+assert (len(aPoint.result
s
()) > 0)
# # Create a sketch with lines
# aSession.startOperation()
# # Create a sketch with lines
# aSession.startOperation()