From 52b9ab4637926954bb56c1e0aab203093e35c55f Mon Sep 17 00:00:00 2001 From: spo Date: Mon, 26 Oct 2015 16:44:51 +0300 Subject: [PATCH] Rename setSize to setSizes for Extrusion --- src/PythonAPI/Test/TestFeaturesExtrusion.py | 2 +- src/PythonAPI/model/extrusion.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PythonAPI/Test/TestFeaturesExtrusion.py b/src/PythonAPI/Test/TestFeaturesExtrusion.py index 46e6b31fe..7c11dfbe1 100644 --- a/src/PythonAPI/Test/TestFeaturesExtrusion.py +++ b/src/PythonAPI/Test/TestFeaturesExtrusion.py @@ -127,7 +127,7 @@ class FeaturesExtrusionTestCase(FeaturesExtrusionFixture): ModelAPI.ModelAPI_AttributeDouble)) def test_extrusion_set_sizes(self): - self.extrusion.setSize(15, 20) + self.extrusion.setSizes(15, 20) self.assertEqual(self.extrusion.getCreationMethod().value(), "BySizes") self.assertEqual(self.extrusion.getToSize().value(), 15) self.assertEqual(self.extrusion.getFromSize().value(), 20) diff --git a/src/PythonAPI/model/extrusion.py b/src/PythonAPI/model/extrusion.py index 88ab84711..a60493145 100644 --- a/src/PythonAPI/model/extrusion.py +++ b/src/PythonAPI/model/extrusion.py @@ -116,7 +116,7 @@ class Extrusion(Interface): self.__execute() pass - def setSize(self, *args): + def setSizes(self, *args): """Modify the to_size, from_size attributes of the feature. See __init__. -- 2.39.2