swh:1:snp:75cb3c6494dd217d603ee065743b04e045fbf78e

sort by:
Revision Author Date Message Commit Date
75209e3 Added FakeDirectory.ordered_dirs - see #151 17 January 2017, 18:57:25 UTC
85d37b6 Windows test related changes - adapted some tests to use an arbitrary path separator to make sure we use the defined separator - faked split(), dirname(), walk(), realpath(), adapted relpath() to fix these tests - fixed case sensitivity for cygwin 28 December 2016, 19:15:59 UTC
3e61917 Merge pull request #146 from jannero/shutil_move Fix shutil.move implementation 22 December 2016, 18:24:45 UTC
e94bb0f Fix shutil.move implementation If both the source and destination argument of shutil.move are directories the source directory is copied under the target directory. pyfakefs implementation copied the source directory to the target directory. The real shutil.move call shutil.copy('/path/to/src', '/path/to/dest') moves /path/to/src to /path/to/dest/src but the pyfakefs implementation moved the src directory to /path/to/dest 22 December 2016, 10:34:44 UTC
8468ec7 Added support for exclusive creation mode in open - see #147 21 December 2016, 14:51:00 UTC
ee9cb06 Merge pull request #143 from MiiRaGe/master os.listdir sometime returns a dict instead of a list 07 December 2016, 22:10:31 UTC
6f12b6a Changed test name, change fix as always dictionnary 07 December 2016, 22:08:14 UTC
d3f2f85 Fixed the bug, probably not the best way to fix it 04 December 2016, 22:46:56 UTC
a8c7270 Added regression test for dictionnary instead of list 04 December 2016, 22:42:12 UTC
d40321b Travis.CI: Removed autodoc, added 3.7-dev 04 December 2016, 12:30:04 UTC
495b655 Improved support for Windows file system tests - renamed supports_drive_letter to is_windows_fs and use it for more Windows-specific stuff to be able to run more tests for Windows fs under Linux - added Windows/Posix variants for some tests that ran only under one system before - test for raised OSError subtypes - fake_pathlib_test: used uncommon path separator to ensure usage of fake filesystem - use SplitPath instead of os.path.split in RenameObject() 03 December 2016, 15:13:05 UTC
eec26f5 Test for IOError subtypes instead of IOError - fixed incorrect exception on invalid file open mode 01 December 2016, 20:16:29 UTC
6f9a0eb Error handling fixes - raise NotADirectoryError where needed so it raised by os.readlink - made pathlib resolve() better conform to real implementation - added strict argument to resolve in Python 3.6 - see #139 - made some fake_pathlib functions available only in 3.5 as in the real implementation 30 November 2016, 20:46:55 UTC
e3449bf Removed accidently left in lines - lines were to be replaced 28 November 2016, 12:40:43 UTC
787982f Added README.md to pypi description - pypandoc needs to be installed during registration 27 November 2016, 20:32:55 UTC
d7cba77 Added missing version hints - made shutil.disk_uage only available for Python >= 3.3 25 November 2016, 20:22:13 UTC
ff973be Added auto doc generation - added sphinx configuration to create documentation from docstrings - fixed some sphinx warnings in docstrings - added script that recreates documentation after each commit and commit it to gh-pages - added mention of pyfakefs version for newer features in docstrings 24 November 2016, 21:32:13 UTC
cf5f9f5 Added context manager for Patcher (#136) - proposed by @mirosval in #135 18 November 2016, 17:59:15 UTC
afa0fdc Docstring consolidation - slightly reworked some docstrings, added missing docstrings - changed behavior of listdir() to returns unsorted entries as in the real function 13 November 2016, 17:26:57 UTC
38478a0 Added support for path-like objects in Python 3.6 - added tests for most faked functions that accepts a path-like object in 3.6 - adapted the code respectively by calling os.fspath() where needed - added getatime() and getctime() to fake os module 11 November 2016, 20:21:02 UTC
306031b Python 3.6 support - added support for context manager in scandir iterator (used in pathlib and glob in 3.6) - added handling for path-like objects for some functions (3.6 only) - fixed incorrect usage of random generator in fake_tempfile - added Python 3.6 in Travis CI 09 November 2016, 19:10:19 UTC
e6feac8 Fixed some pylint warnings - increased max line length to 100 to avoid too many warnings - removed invalid pylint codes, replaced pylint codes with names for better readability - adapted release notes 06 November 2016, 16:36:24 UTC
965a441 Added fake_pathlib implementation - added implementation and test for fake pathlib - moved some functionality from FakeOsModule to FakeFilesystem to be able to use it from fake pathlib - added follow_symlinks argument to to some funxtions in FakeOsModule (stat, chmod, chown, access, utime) - added replace() and lchmod() - fixes #29 04 November 2016, 19:28:47 UTC
27edad0 Added some release notes for previous version - added default .pylintrc with changes for function and method names used in pyfakefs 04 November 2016, 19:09:18 UTC
ed4a985 Added changes for 2.9 release 03 November 2016, 20:49:39 UTC
e08afbd Fixed accidentally duplicated tests - had derived 2 test classes from other test class, thus running the base class tests thrice 11 October 2016, 20:19:25 UTC
b4380f5 Merge pull request #130 from mrbean-bremen/fake_path Well done on the tests. That was smart. 09 October 2016, 20:51:10 UTC
5da94ba Edit PyTest support sentence 09 October 2016, 17:59:29 UTC
7e6dcc3 Merge pull request #131 from jmcgeheeiv/osx-support Update tests to pass on OSX; update README to claim OSX support 09 October 2016, 17:53:42 UTC
415a1dd Modify tests to run properly on OSX. Update README. The only change I made here is to recognize in the tests that on OSX ~root is /var/root instead of /root. setup.py has claimed OSX support all along, which is basically true. 09 October 2016, 17:41:52 UTC
489f7c5 Merge pull request #129 from jmcgeheeiv/pytest-support Support for PyTest The resolution is that pyfakefs is compatible with PyTest versions 2.8.6 and above. Fixes #43. 09 October 2016, 17:25:08 UTC
1311da2 Document the requirement for PyTest 2.8.6 or above. Fixes #43. 09 October 2016, 17:18:21 UTC
624df67 Document the requirement for PyTest 2.8.6 or above. Fixes #43. 09 October 2016, 17:10:56 UTC
3ec0aaf Changes after review by @jmcgeheeiv - use instance instead of class attributes - enhanced documentation - added test 09 October 2016, 12:54:50 UTC
16d899a Add FakeFileOpen.__name__, which pytest uses in messages Having said that, pytest's messages are INTERNAL ERRORs, so this is only the beginning of a solution to #43. But it does make the problem clearer. Run pytest as instructed at the beginning of file pytest_doctest_test.py. Earlier, I misinterpreted @megapctr's statement that this "crashes". I was looking for extreme drama like a segmentation fault. Having said that, INTERNAL ERRORs are certainly bad. 08 October 2016, 23:02:04 UTC
60265c0 Added class attribute Patcher.patch_path - can be set to False to avoid patching 'path' (see #53) - added optional argument to TestCase constructor to set it 08 October 2016, 18:45:32 UTC
13befab Change _Patcher to Patcher in conftest.py 08 October 2016, 18:32:57 UTC
cad7e9b Added fake os.scandir for Python >= 3.5 - incorporated review comments by @jmcgeheeiv - fixes #119 07 October 2016, 19:02:30 UTC
4b7eff0 Removed Python 3.2 tests in travis config - enabled encoding tests for Python 2 using u literal - fixed incorrect encoding for writing files under Python 2 05 October 2016, 14:24:50 UTC
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
back to top