]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Add test for addPoint in Python
authorspo <sergey.pokhodenko@opencascade.com>
Wed, 25 May 2016 07:45:42 +0000 (10:45 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Wed, 25 May 2016 07:45:42 +0000 (10:45 +0300)
src/PythonAPI/Test/TestFeatures.py

index 87042f9be14fd88fe016f14f98ac0b3b8bd998dc..0915bad1fe3d749d15079a9c0053631bd1911c9a 100644 (file)
@@ -48,6 +48,9 @@ class FeaturesTestCase(FeaturesFixture):
             except AssertionError as e:
                 self.fail("%s does not check empty args" % name)
 
+    def test_addPoint(self):
+        model.addPoint(self.part, 10, "20", "x + 30")
+
     def test_initialize_without_attributes(self):
         import ConstructionAPI
         model.construction.axis.Axis(self.part.addFeature("Axis"))