changeset beb7f60b8357 in trytond:5.0
details: https://hg.tryton.org/trytond?cmd=changeset&node=beb7f60b8357
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 4a127308095a -r beb7f60b8357 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
@@ -673,6 +673,7 @@
def doctest_teardown(test):
+ unittest.mock.patch.stopall()
return drop_db()