diff options
author | Ilya Baryshev <baryshev@gmail.com> | 2015-07-02 23:44:37 +0300 |
---|---|---|
committer | Raphaƫl Barrois <raphael.barrois@polytechnique.org> | 2015-07-05 17:04:18 +0200 |
commit | d471c1b4b0d4b06d557b5b6a9349a7dc55515d69 (patch) | |
tree | 923ed608763457fd0bf83ff5fdb8632779b69a48 /tests/utils.py | |
parent | 5114549520e95c658716b7cbe9a7ab333d8ca524 (diff) | |
download | factory-boy-d471c1b4b0d4b06d557b5b6a9349a7dc55515d69.tar factory-boy-d471c1b4b0d4b06d557b5b6a9349a7dc55515d69.tar.gz |
Fix mute_signals behavior for signals with caching
Connecting signals (with use_caching=True) inside mute_signals
was breaking unmute on exit. Paused receivers were not running.
This was caused by signal cache not being restored after unpatching.
Workaround is to clear signal cache on exit.
Fixes #212
Diffstat (limited to 'tests/utils.py')
0 files changed, 0 insertions, 0 deletions