changeset 7e465eef87dc in trytond:6.0
details: https://hg.tryton.org/trytond?cmd=changeset&node=7e465eef87dc
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 f1a518341fbf -r 7e465eef87dc trytond/tests/test_tryton.py
--- a/trytond/tests/test_tryton.py Fri May 07 22:27:28 2021 +0200
+++ b/trytond/tests/test_tryton.py Sat May 15 09:22:28 2021 +0200
@@ -901,6 +901,7 @@
def doctest_teardown(test):
+ unittest.mock.patch.stopall()
return drop_db()