https://github.com/jmcgeheeiv/pyfakefs

sort by:
Revision Author Date Message Commit Date
851ef85 Changed whitespace to conform to pep-8 - auto-format done by PyCharm 03 October 2016, 12:59:56 UTC
0e6704e Removed glob from patched modules - removed obsolete doc test 03 October 2016, 12:38:26 UTC
3cee8ff Removed glob from patched modules - as discussed with jmcgeheeiv 03 October 2016, 12:28:40 UTC
1b352a6 Merge pull request #124 from mrbean-bremen/iglob Added support for glob.iglob and recursive flag 02 October 2016, 20:37:14 UTC
69fe7cc Merge branch 'version-2.9'. Fixes #125. 02 October 2016, 20:06:36 UTC
e60f0e6 Remove "import setuptools" from setup.py It was briefly added as an experiment. 02 October 2016, 19:05:06 UTC
d95f5da Correct categories arg in setup.py 02 October 2016, 18:52:24 UTC
4198433 Fixed minor issues in comments 02 October 2016, 18:14:16 UTC
1a5f266 Merge pull request #122 from jmcgeheeiv/raise-on-unsupported-windows-links Raise OSError if on Windows before Python 3.2. 02 October 2016, 17:35:37 UTC
d0c47dc Merge pull request #123 from mrbean-bremen/raise-on-unsupported-windows-links Skip link-related tests under Windows for Python < 3.3 02 October 2016, 16:56:49 UTC
90b2a0f Edit indentation to 2 spaces per #122 code review 02 October 2016, 16:39:22 UTC
3ab310c Update version to 2.9, URL to pyfakefs.org 02 October 2016, 16:34:45 UTC
e795c65 Added support for glob.iglob and recursive flag - use sources from Python 3.5, slightly adapted to work under Python 2 and use fake file system - fixes #59 and #116 02 October 2016, 16:16:16 UTC
e6bf11c Skip link-related tests under Windows for Python < 3.3 02 October 2016, 13:04:46 UTC
cd9f7d9 Correct typo in _is_link_supported 01 October 2016, 21:28:22 UTC
ec5f933 Raise OSError if on Windows before Python 3.2. Support for links was added to Windows in Python 3.2. 01 October 2016, 21:08:58 UTC
0436915 Merge pull request #121 from mrbean-bremen/file_encoding Added support for file encoding 01 October 2016, 20:35:45 UTC
f099157 Fixed opening files for appending with encoding - added more tests with encoding (mostly similar to tests without encoding) 01 October 2016, 19:09:46 UTC
0b3962c Added support for file encoding - save file contents always as bytes - consider encoding parameter in open() / io.open() - use locale prefered encoding instead of utf-8 as default encoding 30 September 2016, 18:36:53 UTC
90e3384 Add the os.makedirs(exist_ok) argument per #98 11 September 2016, 20:44:39 UTC
0b2f782 Merge pull request #115 from mrbean-bremen/change_skipnames Removed shutil from SKIPNAMES 11 September 2016, 18:43:26 UTC
0b2dc15 Merge pull request #114 from mrbean-bremen/file_remove_perm Handle file permissions on deletion 11 September 2016, 17:40:26 UTC
50b5fb0 Merge pull request #113 from mrbean-bremen/createdir_case_insensitive Fixed some problems with case-insensitive file system 11 September 2016, 17:18:36 UTC
6ddfd82 Merge pull request #111 from mrbean-bremen/io_fake_fix Pass non-faked io module calls to original module 11 September 2016, 16:55:25 UTC
cc08ad8 Merge pull request #118 from sambrightman/master Fix typo in README.md 11 September 2016, 03:32:35 UTC
720f94f Fix typo in README.md 31 August 2016, 07:52:57 UTC
88a6110 Fixed syntax error for Python 2.6 - use explicit set construction to work under Python 2.6 29 June 2016, 20:46:57 UTC
ec71ec0 Removed shutil from SKIPNAMES - added possibility to add own skipnames in derived test class - fixes #104 - can be used to fix #106 29 June 2016, 20:13:08 UTC
57d3b90 Fixed typo in skip condition 27 June 2016, 18:58:44 UTC
574ff95 Handle file permissions on deletion - raise on file deletion if missing write permission - raise on deleting an open file under Windows - make sure check is done recursively if deleting directories - fixes #27 27 June 2016, 18:45:26 UTC
dbacc46 Fixed error in NormalizeCase - caused incorrect behavior for files without contents set - added respective test 24 June 2016, 19:19:39 UTC
dda0a1f Fixed some problems with case-insensitive file system - added tests also for case sensitive behavior - fixed exception type thrown by getsize() - fixes #112 16 June 2016, 19:14:59 UTC
86bfaef Fixed omitted lines in last commit some lines got lost during commit magically 15 June 2016, 19:39:11 UTC
be60ba3 Pass non-faked io module calls to original module fixes #110 15 June 2016, 19:03:59 UTC
5ede6d5 Merge pull request #109 from mrbean-bremen/fake_io_open Fake io open 14 June 2016, 04:27:08 UTC
e110e29 Move testCopyingPreservesByteContents to proper class 14 June 2016, 04:03:11 UTC
682db7a Add leading slash to testCopyingPreservesByteContents 14 June 2016, 03:47:53 UTC
263b432 Resolve conflict between PR #107 and #108 14 June 2016, 03:35:16 UTC
1a2cd42 Merge pull request #107 from mrbean-bremen/mount_points Added support for mount points 14 June 2016, 03:07:42 UTC
db41573 pyfakefs works with Linux, Windows and MacOS 14 June 2016, 02:44:41 UTC
2dd883e Fixed typo in encoding name 13 June 2016, 17:57:13 UTC
4756ff2 Support for mount points - adapted docstring 13 June 2016, 17:50:56 UTC
e946ad8 Clarify that there are two approaches to usage. 12 June 2016, 23:56:17 UTC
50a1969 Added fake io.open - redirects to FakeFileOpen - fixes #70 and #103 12 June 2016, 19:20:24 UTC
ffab504 Added fake io.open - redirects to FakeFileOpen - fixes #70 and #103 12 June 2016, 18:55:22 UTC
c02df60 Fix problem copying byte contents Fixes issue #105 10 June 2016, 19:36:44 UTC
9b8b90a Support for mount points - fixed incorrect argument in RenameObject - added supports_drive_letter to tests where missing to succeed under Linux 08 June 2016, 20:59:36 UTC
9682bc9 Added auto-mount for Windows drives and UNC paths - fixed some more drive and UNC path problems 07 June 2016, 20:23:09 UTC
c406e92 Added support for mount points - added AddMountPoint() together with support for st_ino and st_dev - adapted GetDiskUsage() and ChangeDiskUsage() to use the file system given by path, added SetDiskUsage() convenience function - added FakeOsModule.ismount() implementation - moved rename implementation to FakeFilesystem.RenameObject(), adapted it and shutil.move() to correctly behave with same and different file systems - adapted/added tests 03 June 2016, 20:27:52 UTC
4ca1314 Merge pull request #101 from mrbean-bremen/rename_fix Rename fix 21 May 2016, 23:19:50 UTC
3b7f1b2 Merge pull request #97 from mrbean-bremen/hardlink-size-fix Fixed NormalizeCase() with hard links 21 May 2016, 23:11:43 UTC
424b3c4 Simplified rename - change rename to change the existing object instead of creating a new one - initialize st_link with 0 and increase it in AddEntry() (mirrors behavior in RemoveEntry()) - fixes issue #99 06 May 2016, 19:47:53 UTC
42fe141 Simplified rename - change rename to change the existing object instead of creating a new one - initialize st_link with 0 and increase it in AddEntry() (mirrors behavior in RemoveEntry()) - fixes issue #99 06 May 2016, 19:33:43 UTC
27a7b1b Fixed NormalizeCase() with hard links - changed to not rely on file name member as this may be incorrect in case of hard links - re-enabled tests under Windows 30 April 2016, 20:58:12 UTC
7e1837b Merge pull request #96 from mrbean-bremen/hardlink-size-fix Fixed handling of file system size with hard links 30 April 2016, 20:24:06 UTC
a7896bf Fixed handling of file system size with hard links - added check for st_nlink in file system size change - moved raising out of space IOError to single location - added test, disabled some tests under Windows 30 April 2016, 20:08:28 UTC
b9c7644 Merge pull request #95 from sruggier/pr/add-link-support Implement hard link support 30 April 2016, 19:17:04 UTC
8c9a851 Merge pull request #94 from mrbean-bremen/drive_letter_splitpath_fix Drive letter handling fix 30 April 2016, 19:14:25 UTC
b9bac58 Implement hard link support This change adds support for hard links, and tests to go along with that. There is a bit of ugliness in this change around the use of the name field on FakeFile instances. Support for hard links means that the same file can have different names under different directories, so it fundamentally doesn't make sense for FakeFile instances to have a name associated with them. However, I didn't want to have to perform a mass refactoring as a prerequisite to making this change, so it instead just sets the filename as needed to work with the existing implementation of AddObject. This has the unavoidable side effect of changing the name associated with the original file as well, since they share the same FakeFile instance. It looks like this is probably safe to do now, but to properly ensure that there aren't any problems related to this, the whole codebase should be refactored to remove the name field from FakeFile, and replace it with a suitable alternative. It may require a wrapper class that helps callers keep track of a file's name while preventing misuse of that information by direct users of FakeFile. 28 April 2016, 21:04:23 UTC
5028082 Drive letter handling fix - correctly handle drive root in SplitPath() (hopefully last fix ) 26 April 2016, 18:03:50 UTC
3fc3ad1 Merge pull request #93 from mrbean-bremen/disk_space_rename_fix Fixed file system size handling during rename 26 April 2016, 04:38:51 UTC
6cd6f5d Merge pull request #92 from mrbean-bremen/drive_letter_fixes Drive letter fixes 26 April 2016, 04:38:02 UTC
2faf879 Fixed file system size handling during rename 25 April 2016, 18:20:38 UTC
49c17cd Some more UNC path support (from Python 2.7) - adapted CollapsePath() - second try to adapt isabs(), tries to simulate exception for path=None for Windows and Linux 22 April 2016, 19:00:51 UTC
0263615 Reverted change for isabs - test failed because of slightly different error handling under Linux 21 April 2016, 17:55:58 UTC
56f65f5 Support for drive letter - fixed logical error introduced in last commit - added initial UNC path support to SplitDrive() and JoinPaths() 21 April 2016, 17:45:14 UTC
0f50586 Some drive-letter related fixes - use adapted Windows specific Python join() with drive letter support - fixed abspath() wih regard to drive letters - fixed previously introduced bug in GetPathComponents() - implemented splitdrive() to be able to test it under Linux 20 April 2016, 21:45:56 UTC
3278d03 Merge pull request #88 from mrbean-bremen/drive_letter_resolvepath Fixed behavior of ResolvePath() for Windows paths 19 April 2016, 19:19:09 UTC
49978c1 Fix ResolvePath() for Windows paths - forgot to commit file 19 April 2016, 18:30:58 UTC
83cc33a Fixed behavior of ResolvePath() for Windows paths see issue #83 19 April 2016, 18:27:15 UTC
d42cac4 Merge pull request #87 from mrbean-bremen/disk_space Adding support for filesystem size 19 April 2016, 05:17:02 UTC
ce829f7 Second go to fix the test - do not use unicode in Python 2 18 April 2016, 18:36:26 UTC
c3b37e7 Fixed syntax error with Python 3.2 18 April 2016, 18:27:19 UTC
7e6efae Fixed handling of unicode contents size - fixed handling of setting long size in Python 2 - added respective tests as proposed by jmcgeheeiv 18 April 2016, 18:06:17 UTC
97b8375 Merge remote-tracking branch 'refs/remotes/jmcgeheeiv/master' into disk_space # Conflicts: # fake_filesystem_test.py # pyfakefs/fake_filesystem.py 17 April 2016, 17:48:04 UTC
5839188 Merge pull request #84 from mrbean-bremen/drive_letter_support Fixed support for drive letter The existing instance attributes do not begin with "_", so let's go with this as-is. 17 April 2016, 17:16:14 UTC
cf9a499 Moved initial content setting into private method - to avoid additional parameter introduced in last change in public method 17 April 2016, 16:04:36 UTC
bb0448b Fixed merge problem - setting contents initially now does not increase time 16 April 2016, 19:19:55 UTC
4a83515 Merge remote-tracking branch 'refs/remotes/jmcgeheeiv/master' into disk_space # Conflicts: # pyfakefs/fake_filesystem.py 16 April 2016, 18:58:10 UTC
2b06613 Writes update mtime and float time support (#68) Thank you for all your effort and cooperation. 16 April 2016, 18:09:34 UTC
609a657 Adding support for filesystem size - added parameter to set the total size of the filesystem - keep track of used size for added and deleted files - raise IOError for insufficient space on creating or resizing a file - added shutil.disk_usage() implementation 16 April 2016, 14:40:05 UTC
1140525 Revert previous addition of backslashes 12 April 2016, 20:59:48 UTC
55b8809 Add Python 3.5.x in testGetattrForwardToRealOsPath 12 April 2016, 20:57:44 UTC
4c798f2 Merge pull request #85 from mrbean-bremen/failing_path_test_windows Fixed testGetattrForwardToRealOsPath() under Windows 12 April 2016, 20:52:19 UTC
20f11b6 Removed debug output 12 April 2016, 19:37:08 UTC
232af52 Fixed testGetattrForwardToRealOsPath() under Windows - see issue #78 12 April 2016, 19:34:52 UTC
4b49b19 Add more backslash escapes for example.py per #78 12 April 2016, 18:46:55 UTC
dd466bf Fixed support for drive letter - fixed behavior of NormalizePath() and JoinPaths() with drive letters 11 April 2016, 19:36:08 UTC
7259b60 Fix version check in fake os.path.__getattr__() test. 10 April 2016, 22:02:37 UTC
e612f23 Skip test for access to real os.path attributes in Python 2.6 10 April 2016, 21:55:27 UTC
27d94e3 Fix #79, use getattr(self._path, ...) in fake path.os.__getattr__(). I also added a test. I confirmed that all other __getattr__() definitions are defined properly. The fake path.os.__getattr__() alone was defined in this incorrect way. 10 April 2016, 21:37:17 UTC
4491a82 Merge branch 'additional_path_sep' of github.com:mrbean-bremen/pyfakefs This pull request undid case-insensitive filesystem, #81, so I had to re-integrate those changes. 10 April 2016, 20:34:16 UTC
448e58e Corrected example.py get_glob() unit test for Windows 10 April 2016, 18:01:52 UTC
746159c Support for alternative path separator - set os.altsep / os.path.altsep to alternative path separator - renamed variable to alternative_path_separator to better match altsep 10 April 2016, 14:26:33 UTC
a3386b2 Merge pull request #81 from mrbean-bremen/case_insensitive_fs Added support for case-insensitive filesystem 10 April 2016, 02:46:24 UTC
850fee9 Merge pull request #82 from jmcgeheeiv/example-py-windows Update example.py doctest to pass on Windows. 10 April 2016, 01:57:27 UTC
a7a3a07 Fix shutil.rmtree() exception raising. 10 April 2016, 01:32:02 UTC
bd78066 Change shutil.rmtree() nonexistent file exception to IOError 10 April 2016, 01:00:10 UTC
ff59804 Remove "c:" from Windows paths in doctest. 10 April 2016, 00:15:16 UTC
3d09a1a Align fake shutil.rmtree() with the real shutil.rmtree() Stop when the specified path is a link Handle and test the case: rmtree(path, ignore_errors=True, onerror=error_handler) 10 April 2016, 00:10:01 UTC
back to top