Salome HOME
Implementation of checking the python dump functionality in any unit test (in the...
[modules/shaper.git] / src / PythonAPI / Test / TestSketcher.py
1 import unittest
2 import model
3
4 # Delta value for almost equal comparisons
5 DELTA = 1e-10
6
7 class SketcherTestCase(unittest.TestCase):
8     def setUp(self):
9         model.begin()
10         partset = model.moduleDocument()
11         part = model.addPart(partset).document()
12         plane = model.defaultPlane("XOY")
13         self.sketch = model.addSketch(part, plane)
14
15     def tearDown(self):
16         model.end()
17         model.reset()