Commit 71bd87f
committed
[IMP] core: remove current_thread().testing
The flag may not be set anymore on the current thread. The way to check
if we are testing is to check the `current_test` variable in modules.
odoo/odoo#186884
task-4270485
closes #164
Related: odoo/enterprise#73634
Signed-off-by: Christophe Simonis (chs) <[email protected]>1 parent 15a098b commit 71bd87f
2 files changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
34 | 49 | | |
35 | 50 | | |
36 | 51 | | |
| |||
754 | 769 | | |
755 | 770 | | |
756 | 771 | | |
757 | | - | |
758 | | - | |
759 | | - | |
| 772 | + | |
| 773 | + | |
760 | 774 | | |
761 | 775 | | |
762 | 776 | | |
| |||
786 | 800 | | |
787 | 801 | | |
788 | 802 | | |
789 | | - | |
790 | 803 | | |
791 | | - | |
| 804 | + | |
792 | 805 | | |
793 | 806 | | |
794 | 807 | | |
795 | | - | |
796 | 808 | | |
797 | 809 | | |
798 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
0 commit comments