From 22a466df8defc1c65441ca593608d04e3c9eeb6c Mon Sep 17 00:00:00 2001 From: dbv Date: Fri, 19 Aug 2016 14:48:48 +0300 Subject: [PATCH] Issue #1648: Dump Python in the High Level Parameterized Geometry API Tests fix --- src/PythonAPI/Test/TestFeatures.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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")) -- 2.39.2