changeset b5617808646b in trytond:5.8
details: https://hg.tryton.org/trytond?cmd=changeset&node=b5617808646b
description:
        Use start and stop methods of patch in scenario

        This ensure that the modification on the object are removed at the end 
of the
        scenario.

        issue10422
        review332891002
        (grafted from 3ecfbf3586e429a78b9e40eb3d9702944e27a316)
diffstat:

 trytond/tests/test_tryton.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r cd9445c730e1 -r b5617808646b trytond/tests/test_tryton.py
--- a/trytond/tests/test_tryton.py      Wed May 05 23:14:54 2021 +0200
+++ b/trytond/tests/test_tryton.py      Sat May 15 09:22:28 2021 +0200
@@ -829,6 +829,7 @@
 
 
 def doctest_teardown(test):
+    unittest.mock.patch.stopall()
     return drop_db()
 
 

Reply via email to