Update test_modification.py

Added check if view is in page.OutList.
This commit is contained in:
Roy-043
2022-11-20 22:09:04 +01:00
committed by GitHub
parent 193d284c42
commit 3cdaf8b8bc

View File

@@ -596,6 +596,7 @@ class DraftModification(unittest.TestCase):
page.addView(view)
_msg(" view={}".format(view.TypeId))
self.assertTrue(view, "'{}' failed".format(operation))
self.assertTrue(view in page.OutList, "'{}' failed".format(operation))
def test_mirror(self):
"""Create a rectangle, then a mirrored shape."""