changeset 3ecfbf3586e4 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=3ecfbf3586e4
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
diffstat:
trytond/tests/test_tryton.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 32c2df0914f6 -r 3ecfbf3586e4 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
@@ -901,6 +901,7 @@
def doctest_teardown(test):
+ unittest.mock.patch.stopall()
return drop_db()