Ensure to drop cache on test failure
When an exception occurs in a test decorated by with_transaction, the cleaning of the cache is not done. This break the unity of the tests and can make other tests to fail.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added trytond type::behavior + 1 deleted label
added trytond type::behavior + 1 deleted label
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
review64471002 updated at https://codereview.tryton.org/64471002/#ps1
New changeset a1b67354c624 by Cédric Krier in branch 'default':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/a1b67354c624- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset 9bca935bb629 by Cédric Krier in branch 'default':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/tryton-env/rev/9bca935bb629New changeset 7d64a0a6acb7 by Cédric Krier in branch '5.0':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/7d64a0a6acb7
New changeset e198e1e492bd by Cédric Krier in branch '4.8':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/e198e1e492bd
New changeset dfec19a7185b by Cédric Krier in branch '4.6':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/dfec19a7185b
New changeset 30442b53ad19 by Cédric Krier in branch '4.4':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/30442b53ad19
New changeset 9bacbef1c8fc by Cédric Krier in branch '4.2':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/9bacbef1c8fc