commit | 011b0bbfa368c0afe62d738c50de83855d2141ae | [log] [tgz] |
---|---|---|
author | John McGehee <bitbucket@johnnado.com> | Tue Apr 14 19:47:39 2015 -0700 |
committer | John McGehee <bitbucket@johnnado.com> | Tue Apr 14 19:47:39 2015 -0700 |
tree | f138fa945ec2c8285a00cba133088b244cd80ded | |
parent | fcaa8fdbeca3f9fca37de8d61fb408e887b955c0 [diff] |
Shorten the testRenameSameFilenames() test title to match other titles.
pyfakefs implements a fake file system that mocks the Python file system modules. Using pyfakefs, your tests operate on a fake file system in memory without touching the real disk. The software under test requires no modification to work with pyfakefs.
See the usage tutorial for a concrete example of how to apply pyfakefs.
pyfakefs works with Python 2.6 and above. The mox package is required. This code is tested with Python 2.7.1 and 2.7.5.
pyfakefs project is hosted on PyPi and can be installed:
pip install pyfakefs
pyfakefs.py was initially developed at Google by Mike Bland as a modest fake implementation of core Python modules. It was introduced to all of Google in September 2006. Since then, it has been enhanced to extend its functionality and usefulness. At Google alone, pyfakefs is used in over 2,000 Python tests.
pyfakefs was released to the public in 2011 as Google Code project pyfakefs.
Fork jmcgeheeiv-pyfakefs added a usage tutorial, direct support for unittest and doctest.
Fork shiffdane-jmcgeheeiv-pyfakefs added further corrections.
After the shutdown of Google Code was announced, all three Google Code projects are merged together here on GitHub as pyfakefs.