From: dbv Date: Fri, 19 Aug 2016 11:48:48 +0000 (+0300) Subject: Issue #1648: Dump Python in the High Level Parameterized Geometry API X-Git-Tag: V_2.5.0~137^2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22a466df8defc1c65441ca593608d04e3c9eeb6c;p=modules%2Fshaper.git Issue #1648: Dump Python in the High Level Parameterized Geometry API Tests fix --- diff --git a/src/PythonAPI/Test/TestFeatures.py b/src/PythonAPI/Test/TestFeatures.py index 54fe5510f..4a071252f 100644 --- a/src/PythonAPI/Test/TestFeatures.py +++ b/src/PythonAPI/Test/TestFeatures.py @@ -18,7 +18,9 @@ class FeaturesFixture(unittest.TestCase): def tearDown(self): model.end() - assert(model.checkPythonDump()) + # assert(model.checkPythonDump()) + # This test checks creation of High API classes from low-level. + # It does not set any attributes, so features invalid, and dump also invalid. model.reset() #----------------------------------------------------------------------------- @@ -73,7 +75,7 @@ class FeaturesTestCase(FeaturesFixture): FeaturesAPI.FeaturesAPI_Rotation(self.part.addFeature("Rotation")) FeaturesAPI.FeaturesAPI_Translation(self.part.addFeature("Translation")) FeaturesAPI.FeaturesAPI_Group(self.part.addFeature("Group")) - + import PrimitivesAPI PrimitivesAPI.PrimitivesAPI_Box(self.part.addFeature("Box"))