forked from pytest-dev/pyfakefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added lazy evaluation of real directories (pytest-dev#185)
* Added lazy evaluation of real directories - real directory contents are only added to the fake file system on demand (makes adding large directory trees faster) - refactored real file/directory access to use own classes * Added possibility to switch off lazy directory reading - may be needed for tests that check the disk usage to avoid the side effect of changing disk usage during delayed directory content access
- Loading branch information
1 parent
bbcdb68
commit de0d107
Showing
2 changed files
with
167 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters