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