https://github.com/jmcgeheeiv/pyfakefs

sort by:
Revision Author Date Message Commit Date
1895a8b Release branch for version 3.5 22 October 2018, 19:02:26 UTC
a6885b8 Minor documentation updates to prepare release - updated release notes - updated auto-generated documentation 22 October 2018, 18:57:25 UTC
ffed2cc Automatically patch imported functions - allows imports like 'from os import stat' to be patched 22 October 2018, 16:48:16 UTC
0b89238 Switched on deprecation warning for old API by default 19 October 2018, 20:43:39 UTC
d55e367 Move build badges to the beginning of the line 18 October 2018, 20:10:17 UTC
404007f Make the Windows CI info look like the others 18 October 2018, 19:31:04 UTC
945fa08 Use same Travis build badge for Linux and MacOS Before, it looked like Linux was untested. Only a very careful reading revealed that the build badge for MacOS also applied to Linux. 18 October 2018, 19:29:57 UTC
97c9f64 Changed patch behavior to rely on module names instead of imported names (#434) * Changed patch behavior to rely on module names instead of imported names - adapted tests and documentation * Clarify import method explanation 18 October 2018, 19:25:17 UTC
6c2cbcb Added ability to set user ID (#432) - can be used to test root user - see #431 18 October 2018, 18:47:29 UTC
a609c77 Updated documentation 16 October 2018, 19:25:19 UTC
f92c9fc Patch 'Path' if imported from pathlib or pathlib2 - see #440 16 October 2018, 19:25:19 UTC
51781b9 Fix pytest when pyfakefs + future is installed `python-future` is notorious for breaking modules which use `try:` / `except:` to import modules based on version. In this case, `pyfakefs` imported the backported `builtins` module which changes the semantics of the `open()` function. `pyfakefs` then monkeypatches `linecache` which breaks any module which attempts to use `linecache` (in this case `pytest`). The downstream issue is https://github.com/pytest-dev/pytest/pull/4074 11 October 2018, 04:03:49 UTC
1886f92 Adapted file timestamp update to real fs behavior - tests originally by @simonfagerholm, adapted - fixes #435 08 October 2018, 19:01:00 UTC
1465cc4 Updated release notes 08 October 2018, 18:41:38 UTC
1482160 Added mention of side_effects in set_contents docstring 08 October 2018, 18:32:50 UTC
6a0a3b2 added side_effect argument to docstrings 08 October 2018, 18:32:50 UTC
a84f9e4 Added side_effect argument to files. side_effect is a function handle that takes the file object as an argument and does some side effect when the file is written. Use case is, among others, writing to the sysfs gpio export file and expecting gpios to "pop up". 08 October 2018, 18:32:50 UTC
b439872 Remove support for Python 3.3 - added 3.7 builds for MacOS and Windows - use released 3.7 build for Linux 03 October 2018, 11:56:51 UTC
3bdca2d Added TestCase arguments to setUpPyfakefs() for convenience 01 October 2018, 18:26:38 UTC
8209b61 Removed patch_path argument from UnitTest and Patcher (#429) - path is only patched if it is os.path (detected by name) 17 September 2018, 04:02:01 UTC
eeb80f6 Import zipfile to avoid problem with late import (#428) - fixes #427 09 September 2018, 21:38:10 UTC
2638de2 List new feature pathlib2 per #422 03 September 2018, 14:30:48 UTC
3fb83fc Added some support for extended filesystem attributes (#426) - added support for reading/writing arbitrary extended attributes (Linux / Python 3 only) - Note: support for extended fs attributes is assumed, not checked - see #423 03 September 2018, 14:18:51 UTC
8a4047f Handle contents=None in create_file() as empty contents if size not set (#425) - closes #424 03 September 2018, 14:16:22 UTC
05e7d2a Add support for pathlib2 (#408) (#422) Well done. 03 September 2018, 14:12:53 UTC
8990455 Added another example for custom argument usage with PyTest - added a respective link in the documentation 24 July 2018, 16:19:41 UTC
65e9bd0 Added test showing the usage of a custom pytest fixture - moved pytest tests into separate subdirectory - the new test is an example for how to work around #420 23 July 2018, 19:48:47 UTC
c80e3f0 Added initial support for null device - added special file and file buffer for null device - fixes #418 08 July 2018, 19:23:42 UTC
534ec54 Added file path or descriptor to exceptions where missing - fixes #419 08 July 2018, 15:28:49 UTC
eac3bf2 Fixed link in release notes 13 June 2018, 18:28:31 UTC
a20bc96 Prepare next version - adapted version - adapted release notes 13 June 2018, 17:59:56 UTC
c3376e0 Changed version to 3.4.3 - version 3.4.2 was incorrectly published due to a mistake 13 June 2018, 17:36:54 UTC
3ce433f Preparing release 3.4.2 - adapted version - adapted release notes - added Python 3.7 to setup classifiers 13 June 2018, 16:58:56 UTC
8d95045 Fixed some flake8 and deprecation warnings 10 June 2018, 14:41:13 UTC
d8dccd0 Second try to fix problem with seek and truncate with different file handles - fixes #300 10 June 2018, 12:32:20 UTC
cc1a3e1 Revert fix for #300 as it causes regressions - fixes #414 10 June 2018, 09:44:56 UTC
6c2132b Fixed tell position after seek in append mode - fixes #363 09 June 2018, 15:40:31 UTC
d60833e Make sure that the linecache module is not using the fake file system - does not work for Python 3.3 (which should not be used anymore anyway) - see #381 09 June 2018, 13:17:20 UTC
246e2c8 Adding missing flush in truncate - fixes #412 08 June 2018, 18:15:32 UTC
c4755b0 Fixed flush after truncate - fixes #412 07 June 2018, 18:46:21 UTC
3cdbc6b binary readline (Py3) fixed Signed-off-by: Martin Volf <mvolf@cisco.com> 04 June 2018, 16:40:30 UTC
26e2507 Added handling of linking to path ending with separator - fixes #407 02 June 2018, 16:16:39 UTC
72237e5 Fixed another rename problem with trailing separator under MacOS - fixes #406 02 June 2018, 15:17:46 UTC
f9ff1c6 Added support for path-like object argument in convenience methods - concerns create_file(), create_dir(), create_symlink(), add_real_file() and add_real_directory() - closes #409 02 June 2018, 06:53:48 UTC
297e362 Fixed some typos and formatting issues in documentation 28 May 2018, 18:57:24 UTC
346ad74 Fixed handling of renaming symlinks to other case in MacOS - fixes #389 28 May 2018, 18:05:21 UTC
19b9c88 Some minor whitespace fixes to satisfy flake8 27 May 2018, 19:11:21 UTC
3fdbb66 Fixed behavior of os.readlink with trailing separator under MacOS - fixes #392 27 May 2018, 18:37:34 UTC
7655b5d Fixed handling of rmdir with trailing seperator under MacOS - fixes #398 27 May 2018, 12:34:42 UTC
ba6323b Added handling for rename with trailing seperator to same file - fixes #400 27 May 2018, 12:02:14 UTC
08b6645 Added handling of hard link to path ending with separator - fixes #399 27 May 2018, 11:35:31 UTC
98d3524 Added handling for opening a link pointing to a path ending with sep - fixes #397 26 May 2018, 19:09:41 UTC
42ea6a0 Added handling for rename symlink with trailing sep to self - fixes #395 18 May 2018, 21:26:04 UTC
a53706e Added special handling for broken links with trailing separator - allow mkdir and makedirs under MacOS - see #396 18 May 2018, 18:57:39 UTC
d1efc1f Added handling for readlink for broken link with trailing separator - see #396 18 May 2018, 18:57:39 UTC
1517593 Added special handling for broken symlinks with trailing separator - used for handling of lstat(), remove() and rename() - fixes incorrect results for islink() and lexists() under MacOS - see #396 18 May 2018, 18:57:39 UTC
052f437 Use current fixed posix implementation of pathlib.resolve() - fixes #401 17 May 2018, 19:11:37 UTC
406529f More special handling for paths with trailing separator - fixed renaming symlink ending with trailing separator under linux and macos - fixes #391 15 May 2018, 19:20:36 UTC
e0369d3 Added handling for broken symlinks with trailing separator - fixes #390 14 May 2018, 19:01:34 UTC
dc9e6a3 Fixed regression for isDir() with trailing separator under MacOS - fixes #387 12 May 2018, 02:05:52 UTC
e9d1061 Added more handling for trailing separators in readlink - fixes #372 09 May 2018, 16:59:43 UTC
eaaaaa7 Added handling for creating broken symlinks with trailing separator - fixes #371 08 May 2018, 17:13:02 UTC
7cd23cc Fix using setUpPyfakefs when using TestCaseMixin 08 May 2018, 03:20:25 UTC
01d9913 Fixed argument order in assert_raises_xx_error helper functions - the output of expected and actual value in case of failure was reversed 04 May 2018, 17:34:39 UTC
a228635 Added more OS specific handling for file paths ending with separator (#382) Nice! 02 May 2018, 19:29:48 UTC
eaf74f0 Add linecache module to skipped modules for pytest plugin - see #381 - fixes the problem under Python 3, but not under Python 2 29 April 2018, 18:19:18 UTC
0548a36 Added "closed" property to file wrapper - see #380 27 April 2018, 16:46:18 UTC
2730677 Directly use README.md for pypi (use new pypi feature) - tested in https://test.pypi.org/project/pyfakefs/3.4.2/ - see #358 26 April 2018, 17:59:53 UTC
99029d8 Moved tests into package to conform with standard package structure - adapted tests - fixed bug in add_real_directory for nested paths 26 April 2018, 17:25:40 UTC
ea2fa1d Remove unnecessary shebang line This removes an unnecessary shebang line from `fake_filesystem_shutil.py`, as this file is a Python module and isn't invoked via CLI. 20 April 2018, 08:41:16 UTC
5a726e1 Raise in os.remove() and os.stat() if file path ends with separator - fixes #376 - fixes #377 11 April 2018, 17:15:37 UTC
45f0269 Raise in os.getsize() if file path ends with separator - fixes #368 09 April 2018, 18:37:29 UTC
db379fc Raise on file paths ending with separator only for specific methods - fixes #366 09 April 2018, 15:40:39 UTC
2cab8af Remove all trailing separators in makedir - fixes #367 09 April 2018, 14:46:14 UTC
2323906 Raise if resolving file path ending with separator under Posix - fixes #365 08 April 2018, 10:52:58 UTC
5b2945e Make sure os.exists returns False for file path ending with path separator - fixes #364 07 April 2018, 17:39:08 UTC
943adf9 Minor pep8 adaptations in tests - adapted test names that had been omitted in renaming script 07 April 2018, 17:10:50 UTC
32ebc9a Raise IOError instead of OSError for open() with trailing separator - fixes #362 07 April 2018, 14:18:05 UTC
3ac062b Include tests in PyPI tarball 06 April 2018, 16:33:32 UTC
ae9b251 Raise if remove a linked path ending with path separator - fixes #360 04 April 2018, 18:59:04 UTC
c204eaa Raise OSError in os.readlink if path ends with separator - fixes #359 04 April 2018, 17:44:24 UTC
7bbfc72 Advance version for next release 18 March 2018, 07:49:07 UTC
c6f9d66 Adapt release notes for 3.4.1 patch release 18 March 2018, 07:35:26 UTC
ff45e3b Replaced usage documentation in README with link to ghpages - corrected test commands 17 March 2018, 20:08:28 UTC
6366445 Adapted release notes - adapted version for patch release - added chapter about mount point usage 16 March 2018, 19:27:00 UTC
e27d9d8 Reload original modules in dynamic patcher cleanup - avoids them to still reference the fake file system - see #356 15 March 2018, 21:08:34 UTC
5c2a381 Fixed Fakedirectory.path if cwd is not root - see #355 14 March 2018, 21:05:07 UTC
47ffc3a Fixed documentation link 08 March 2018, 18:51:30 UTC
dfb070a Adapted version for next release 08 March 2018, 18:47:01 UTC
68e23ba Prepare release 3.4 - added documentation link for 3.3 version - added pypi link 08 March 2018, 18:13:49 UTC
be16c19 Updated release notes - removed unused .pylintrc 06 March 2018, 19:33:11 UTC
5529fbc Some more flake8 stuff - reduced complexity for some functions 03 March 2018, 16:10:54 UTC
16011b0 Exclude Python 3 only files from flake 8 if in Python 2 02 March 2018, 22:10:53 UTC
919f18a Fixed some flake8 findings for tests, adapted line length to 79 chars 01 March 2018, 21:04:46 UTC
5d0aeb8 Fixed some flake8 findings, adapted line length to 79 chars 01 March 2018, 19:40:08 UTC
b884f8c Fix undefined names in Python3 01 March 2018, 07:47:02 UTC
ee5bb58 Add flake8 to testing * FileNotFoundError, FileExistsError, NotADirectoryError exist in Python 3 but not in Python 2. * file(), long, unicode exist in Python 2 but not in Python 3 22 February 2018, 19:49:47 UTC
3f760d7 Do not resolve links in base path for fake os.scandir - used PEP8 conform methods in fake_scandir - fixes #350 22 February 2018, 19:12:03 UTC
f245afb Split TestCase into mixin class and TestCase class Having TestCaseMixin allows you to use PyFakeFs with, for example, asynctest.TestCase or django.test.TestCase. 21 February 2018, 07:04:00 UTC
89b091e Fix unit tests when run on a computer not having umask set to 0022 If umask was set to, for example, 0027 some tests failed because the file mode of the created file was not what was expected. One of the failing tests: ====================================================================== FAIL: test_open_mode_windows (tests.fake_os_test.FakeOsModuleLowLevelFileOpTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/code/pyfakefs/tests/fake_os_test.py", line 3499, in test_open_mode_windows self.assertEqual(0o100666, stat0.st_mode) AssertionError: 33206 != 33202 You can reproduce the issue (on Linux) by checking out older version and running umask 0027 python -m tests.all_tests 21 February 2018, 07:04:00 UTC
back to top