Test: [skip ci] add test for issue 4823

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=52775
This commit is contained in:
wmayer
2022-01-15 14:07:28 +01:00
parent 5e87b15782
commit b8af2f3d52

View File

@@ -379,6 +379,12 @@ class DocumentBasicCases(unittest.TestCase):
self.assertEqual(ext.Link, obj)
self.assertNotEqual(ext.Link, sli)
def testIssue4823(self):
# https://forum.freecadweb.org/viewtopic.php?f=3&t=52775
# The issue was only visible in GUI mode and it crashed in the tree view
obj = self.Doc.addObject("App::Origin")
self.Doc.removeObject(obj.Name)
def tearDown(self):
#closing doc
FreeCAD.closeDocument("CreateTest")