Permalink
Commits on Nov 19, 2018
  1. Adapted documentation to last changes

    mrbean-bremen committed Nov 18, 2018
Commits on Nov 18, 2018
  1. Added automatic patching of builtin and io open as other name

    mrbean-bremen committed Nov 16, 2018
    - in Python 2, builtin open is now handled by FakeBuiltinModule
    - in Python 3, builtin open is handled via io.open
    - adapted pytest plugin to ensure that open is not patched
      for linecache and dependent tokenize modules
    - importing builtin open as other name does not work with PyPy2
Commits on Nov 16, 2018
  1. Added automatic patching of functions imported as other name

    mrbean-bremen committed Nov 16, 2018
    - works for functions from file system modules
    - does not work for built-in open()
Commits on Nov 11, 2018
  1. Fixed a few flake8 findings, mainly formatting stuff

    mrbean-bremen committed Nov 11, 2018
  2. Prepare next version

    mrbean-bremen committed Nov 11, 2018
Commits on Nov 10, 2018
  1. Added support for pause/resume patching of the file system modules

    mrbean-bremen committed Nov 7, 2018
    - can be called from the unit test, the patcher or the fs
Commits on Nov 9, 2018
  1. Fixed usage of modules_to_patch parameter

    mrbean-bremen committed Nov 9, 2018
    - adapted example, as the usage has slightly changed
      (full module path is now needed)
    - fixes #450
Commits on Nov 8, 2018
  1. Set st_uid and st_gid for new files to current user/group ID

    mrbean-bremen committed Nov 8, 2018
    - allow to set current group ID
    - see #449
  2. Fixed using `modules_to_patch` with modules without dir()

    mrbean-bremen committed Nov 8, 2018
    - check for existing dir() before calling it
    - fixes #450
Commits on Oct 29, 2018
  1. Allow trailing separator in fake_filesystem.add_real_directory()

    mrbean-bremen committed Oct 29, 2018
    - fixes #446
Commits on Oct 25, 2018
  1. Fixed recursion error on unpickling the fake file system

    mrbean-bremen committed Oct 24, 2018
    - changed FakeStatResult so that pickling works under Python 2
    - fixes #445
Commits on Oct 22, 2018
  1. Prepare next version

    mrbean-bremen committed Oct 22, 2018
  2. Release branch for version 3.5

    mrbean-bremen committed Oct 22, 2018
  3. Minor documentation updates to prepare release

    mrbean-bremen committed Oct 22, 2018
    - updated release notes
    - updated auto-generated documentation
  4. Automatically patch imported functions

    mrbean-bremen committed Oct 19, 2018
    - allows imports like 'from os import stat' to be patched
Commits on Oct 19, 2018
  1. Switched on deprecation warning for old API by default

    mrbean-bremen committed Oct 19, 2018
Commits on Oct 18, 2018
  1. Changed patch behavior to rely on module names instead of imported na…

    mrbean-bremen authored and jmcgeheeiv committed Oct 18, 2018
    …mes (#434)
    
    * Changed patch behavior to rely on module names instead of imported names
    
    - adapted tests and documentation
    
    * Clarify import method explanation
  2. Added ability to set user ID (#432)

    mrbean-bremen authored and jmcgeheeiv committed Oct 18, 2018
    - can be used to test root user
    - see #431
Commits on Oct 16, 2018
  1. Updated documentation

    mrbean-bremen committed Oct 16, 2018
Commits on Oct 8, 2018
  1. Adapted file timestamp update to real fs behavior

    mrbean-bremen committed Oct 3, 2018
    - tests originally by @simonfagerholm, adapted
    - fixes #435
  2. Updated release notes

    mrbean-bremen committed Oct 8, 2018
Commits on Oct 3, 2018
  1. Remove support for Python 3.3

    mrbean-bremen committed Oct 2, 2018
    - added 3.7 builds for MacOS and Windows
    - use released 3.7 build for Linux
Commits on Oct 1, 2018
  1. Added TestCase arguments to setUpPyfakefs() for convenience

    mrbean-bremen committed Sep 20, 2018
Commits on Sep 17, 2018
  1. Removed patch_path argument from UnitTest and Patcher (#429)

    mrbean-bremen authored and jmcgeheeiv committed Sep 17, 2018
    - path is only patched if it is os.path (detected by name)
Commits on Sep 9, 2018
  1. Import zipfile to avoid problem with late import (#428)

    mrbean-bremen authored and jmcgeheeiv committed Sep 9, 2018
    - fixes #427
Commits on Sep 3, 2018
  1. Added some support for extended filesystem attributes (#426)

    mrbean-bremen authored and jmcgeheeiv committed Sep 3, 2018
    - added support for reading/writing arbitrary extended attributes
      (Linux / Python 3 only)
    - Note: support for extended fs attributes is assumed, not checked
    - see #423
  2. Handle contents=None in create_file() as empty contents if size not s…

    mrbean-bremen authored and jmcgeheeiv committed Sep 3, 2018
    …et (#425)
    
    - closes #424
Commits on Jul 24, 2018
  1. Added another example for custom argument usage with PyTest

    mrbean-bremen committed Jul 24, 2018
    - added a respective link in the documentation
Commits on Jul 23, 2018
  1. Added test showing the usage of a custom pytest fixture

    mrbean-bremen committed Jul 23, 2018
    - moved pytest tests into separate subdirectory
    - the new test is an example for how to work around #420
Commits on Jul 8, 2018
  1. Added initial support for null device

    mrbean-bremen committed Jul 8, 2018
    - added special file and file buffer for null device
    - fixes #418
  2. Added file path or descriptor to exceptions where missing

    mrbean-bremen committed Jul 8, 2018
    - fixes #419
Commits on Jun 13, 2018
  1. Fixed link in release notes

    mrbean-bremen committed Jun 13, 2018
  2. Prepare next version

    mrbean-bremen committed Jun 13, 2018
    - adapted version
    - adapted release notes
  3. Changed version to 3.4.3

    mrbean-bremen committed Jun 13, 2018
    - version 3.4.2 was incorrectly published due to a mistake