]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[PythonAPI] Rename TestModeler.py to TestModel.py
authorspo <sergey.pokhodenko@opencascade.com>
Tue, 20 Oct 2015 07:36:54 +0000 (10:36 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Tue, 20 Oct 2015 07:36:54 +0000 (10:36 +0300)
src/PythonAPI/Test/TestModel.py [new file with mode: 0644]
src/PythonAPI/Test/TestModeler.py [deleted file]

diff --git a/src/PythonAPI/Test/TestModel.py b/src/PythonAPI/Test/TestModel.py
new file mode 100644 (file)
index 0000000..d763777
--- /dev/null
@@ -0,0 +1,18 @@
+import unittest
+import model
+
+class ModelTestCase(unittest.TestCase):
+    def setUp(self):
+        model.begin()
+        partset = model.moduleDocument()
+        self.part = model.addPart(partset).document()
+
+    def tearDown(self):
+        model.end()
+
+    def test_add_sketch(self):
+        plane = model.defaultPlane("XOY")
+        model.addSketch(self.part, plane)
+
+if __name__ == "__main__":
+    unittest.main()
diff --git a/src/PythonAPI/Test/TestModeler.py b/src/PythonAPI/Test/TestModeler.py
deleted file mode 100644 (file)
index d763777..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-import unittest
-import model
-
-class ModelTestCase(unittest.TestCase):
-    def setUp(self):
-        model.begin()
-        partset = model.moduleDocument()
-        self.part = model.addPart(partset).document()
-
-    def tearDown(self):
-        model.end()
-
-    def test_add_sketch(self):
-        plane = model.defaultPlane("XOY")
-        model.addSketch(self.part, plane)
-
-if __name__ == "__main__":
-    unittest.main()