From 2bd759967863362a5f89dccfc861740a602cf0e2 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 11 Nov 2016 19:08:39 +0300 Subject: [PATCH] Remove examples and tests based on the obsolete API --- src/PythonAPI/CMakeLists.txt | 1 - src/PythonAPI/Test/TestMakeBrick3.py | 6 ------ src/PythonAPI/examples/MakeBrick3.py | 25 ------------------------- 3 files changed, 32 deletions(-) delete mode 100644 src/PythonAPI/Test/TestMakeBrick3.py delete mode 100644 src/PythonAPI/examples/MakeBrick3.py 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 -- 2.39.2