+ update document undo/redo test cases 

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5232 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
jriegel
2011-12-07 21:24:44 +00:00
parent b9e1a370e7
commit 9e56242a29
3 changed files with 23 additions and 1 deletions

View File

@@ -244,6 +244,7 @@ class DocumentRecomputeCases(unittest.TestCase):
class UndoRedoCases(unittest.TestCase):
def setUp(self):
self.Doc = FreeCAD.newDocument("UndoTest")
self.Doc.UndoMode = 0
self.Doc.addObject("App::FeatureTest","Base")
self.Doc.addObject("App::FeatureTest","Del")
self.Doc.getObject("Del").Integer = 2