From: spo Date: Wed, 25 May 2016 07:45:42 +0000 (+0300) Subject: Add test for addPoint in Python X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=16c30ea174fbc5d40b17e67bd2863e9d5026ada9;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"))