From 3cdaf8b8bcea0cb878a76ccd158923910cad1955 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sun, 20 Nov 2022 22:09:04 +0100 Subject: [PATCH] Update test_modification.py Added check if view is in page.OutList. --- src/Mod/Draft/drafttests/test_modification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Draft/drafttests/test_modification.py b/src/Mod/Draft/drafttests/test_modification.py index 72e8d7c28c..0e48451dbd 100644 --- a/src/Mod/Draft/drafttests/test_modification.py +++ b/src/Mod/Draft/drafttests/test_modification.py @@ -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."""