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 1f340dacb6
commit 2a832b96f4

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."""