Commit c25e2d1
committed
[FIX] test_queue_job: also add an _unregister_hook function that reverts patches
Otherwise monkey-patches could be added twice when instantiating new test classes.1 parent 227a5e7 commit c25e2d1
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
| |||
0 commit comments