Searched refs:patchfs (Results 1 – 7 of 7) sorted by relevance
147 Patch using fake_filesystem_unittest.patchfs decorator155 from pyfakefs.fake_filesystem_unittest import patchfs158 @patchfs170 @patchfs177 @patchfs182 Avoid writing the ``patchfs`` decorator *between* ``mock.patch`` operators,198 @patchfs285 patchfs subsection287 If you use the ``patchfs`` decorator, you can pass the arguments directly to292 from pyfakefs.fake_filesystem_unittest import patchfs[all …]
40 :members: patchfs
16 the ``patchfs`` decorator, or the ``Patcher`` class.
41 patchfs,59 @patchfs68 @patchfs79 @patchfs502 @patchfs511 @patchfs(modules_to_patch={"pyfakefs.tests.import_as_example": FakeExampleModule})752 @patchfs895 @patchfs
16 as a context manager, or by using the `patchfs` decorator.
400 * The `patchfs` decorator now expects a positional argument instead of the403 adapt the argument order if you use the `patchfs` and `mock.patch`506 * Added convenience decorator `patchfs` to patch single functions using
98 def patchfs( function