Fix tests breaking due to pytest mock

Release 1.12.0 of pytest-mock now raises an error on context manager
usage.
See https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst#1120-2019-11-19
This commit is contained in:
Timothee Chehab 2019-12-14 15:28:11 +01:00 committed by Augustin Trancart
parent 0eb77e4e8b
commit 917528f70d