From: spo Date: Wed, 25 May 2016 07:45:42 +0000 (+0300) Subject: Add test for addPoint in Python X-Git-Tag: V_2.4.0~91^2~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e570d892fa8bcbc247ee5bc31e34c4c048491fb2;p=modules%2Fshaper.git Add test for addPoint in Python --- diff --git a/src/PythonAPI/Test/TestFeatures.py b/src/PythonAPI/Test/TestFeatures.py index 87042f9be..0915bad1f 100644 --- a/src/PythonAPI/Test/TestFeatures.py +++ b/src/PythonAPI/Test/TestFeatures.py @@ -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"))