Searched refs:modules_to_patch (Results 1 – 4 of 4) sorted by relevance
88 modules_to_patch=None, argument110 modules_to_patch=modules_to_patch,131 modules_to_patch=None, argument143 modules_to_patch=modules_to_patch,195 modules_to_patch = None variable in TestCaseMixin204 modules_to_patch=None, argument221 if modules_to_patch is None:222 modules_to_patch = self.modules_to_patch226 modules_to_patch=modules_to_patch,261 modules_to_patch=None, argument[all …]
266 modules_to_patch section in Customizing Patcher and TestCase270 ``modules_to_patch`` can be used by adding a fake module implementation for304 with Patcher(modules_to_patch={'django.core.files.locks': FakeLocks}):310 self.setUpPyfakefs(modules_to_patch={'django.core.files.locks': FakeLocks})322 @patchfs(modules_to_patch={'django.core.files.locks': FakeLocks})589 functions or classes, they may be patched by using the ``modules_to_patch``
320 modules_to_patch={343 @patchfs(modules_to_patch={
227 * fixed using `modules_to_patch` (regression, see [#450](../../issues/450))348 * Added possibility to add own fake modules via `modules_to_patch`