]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[Sketcher API] unit test exepriment
authorRenaud Nédélec <renaud.nedelec@opencascade.com>
Thu, 1 Oct 2015 15:10:23 +0000 (17:10 +0200)
committerRenaud Nédélec <renaud.nedelec@opencascade.com>
Thu, 1 Oct 2015 15:10:23 +0000 (17:10 +0200)
src/PythonAPI/unit_test_experiment/CMakeLists.txt [new file with mode: 0644]
src/PythonAPI/unit_test_experiment/test.py [new file with mode: 0644]

diff --git a/src/PythonAPI/unit_test_experiment/CMakeLists.txt b/src/PythonAPI/unit_test_experiment/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a90bdef
--- /dev/null
@@ -0,0 +1,2 @@
+enable_testing()
+add_test(NAME "test" COMMAND "python" "test.py")
diff --git a/src/PythonAPI/unit_test_experiment/test.py b/src/PythonAPI/unit_test_experiment/test.py
new file mode 100644 (file)
index 0000000..9a5184a
--- /dev/null
@@ -0,0 +1,8 @@
+import unittest
+
+class Test(unittest.TestCase):
+    def test_assert_false(self):
+        self.assertFalse(False)
+
+if __name__ == "__main__":
+    unittest.main()