From: mpv Date: Fri, 11 Nov 2016 16:08:39 +0000 (+0300) Subject: Remove examples and tests based on the obsolete API X-Git-Tag: V_2.6.0~92 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2bd759967863362a5f89dccfc861740a602cf0e2;p=modules%2Fshaper.git Remove examples and tests based on the obsolete API --- diff --git a/src/PythonAPI/CMakeLists.txt b/src/PythonAPI/CMakeLists.txt index 16ce02a1b..a28227ccb 100644 --- a/src/PythonAPI/CMakeLists.txt +++ b/src/PythonAPI/CMakeLists.txt @@ -39,6 +39,5 @@ ADD_UNIT_TESTS( TestMakeBrick1.py TestMakeBrick2.py - TestMakeBrick3.py TestPlatine.py ) diff --git a/src/PythonAPI/Test/TestMakeBrick3.py b/src/PythonAPI/Test/TestMakeBrick3.py deleted file mode 100644 index bbdb4a989..000000000 --- a/src/PythonAPI/Test/TestMakeBrick3.py +++ /dev/null @@ -1,6 +0,0 @@ -import unittest - -import examples.MakeBrick3 - -if __name__ == "__main__": - unittest.main() diff --git a/src/PythonAPI/examples/MakeBrick3.py b/src/PythonAPI/examples/MakeBrick3.py deleted file mode 100644 index 898e83bfe..000000000 --- a/src/PythonAPI/examples/MakeBrick3.py +++ /dev/null @@ -1,25 +0,0 @@ -# Creation of a box using the end-user API -# Author: Daniel Brunier-Coulin -# ----------------------------- - -import model -import extension - - -# Initialisation - -model.begin() -mypartset = model.moduleDocument() - - -# Creating a new Part - -mypart = model.addPart(mypartset).document() - - -# Creating the base of the box - -extension.addBoxScript( mypart, 10, 20, 30 ) -model.end() - -assert(model.checkPythonDump()) \ No newline at end of file