]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Improve code coverage
authorazv <azv@opencascade.com>
Mon, 16 Dec 2019 09:40:04 +0000 (12:40 +0300)
committerazv <azv@opencascade.com>
Mon, 16 Dec 2019 09:40:26 +0000 (12:40 +0300)
src/SketchPlugin/Test/Test3087_1.py
src/SketchPlugin/Test/Test3087_2.py

index 92a0fe448c091768fe2c5f96d65958a12974205e..7f94403922999c3327628b4d166ad69d5127ccb5 100644 (file)
@@ -61,3 +61,5 @@ if __name__ == "__main__":
     Events_Loop.loop().flush(event);
 
     assert(listener.myEventProcessed)
+    # explicitly remove the listener to improve code coverage
+    listener.__del__()
index 4fb18ea66eb4fedbac1cf831f38e230a1c6d7349..632b73fb039d7847cdb3dfcea7a7679eb9d57c68 100644 (file)
@@ -64,3 +64,5 @@ if __name__ == "__main__":
     Events_Loop.loop().flush(event);
 
     assert(listener.myEventProcessed)
+    # explicitly remove the listener to improve code coverage
+    listener.__del__()