]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/Test/TestSketch.py
Salome HOME
Add support for RefAttr attribute, create setCoincedent constraint
[modules/shaper.git] / src / SketchAPI / Test / TestSketch.py
index 5f1576c77f84b3902ece81d7a38ff930defd3adc..091554acd808b003d779c1ab5dd5adf918e6d3c0 100644 (file)
@@ -1,9 +1,9 @@
 import unittest
 
 import ModelAPI
-import ExchangeAPI
+import SketchAPI
 
-class PointTestCase(unittest.TestCase):
+class SketchTestCase(unittest.TestCase):
 
     def setUp(self):
         self.session = ModelAPI.ModelAPI_Session.get()
@@ -12,15 +12,7 @@ class PointTestCase(unittest.TestCase):
     def tearDown(self):
         self.session.closeAll()
 
-    def test_addImport(self):
-        self.session.startOperation()
-        self.feature = ExchangeAPI.addImport(self.doc, "file_path")
-        self.session.finishOperation()
-
-    def test_addExport(self):
-        self.session.startOperation()
-        self.feature = ExchangeAPI.exportToFile(self.doc, "file_path", "file_format", [])
-        self.session.finishOperation()
+# TODO(spo): add tests.
 
 if __name__ == "__main__":
     unittest.main()