Mock file system interactions in tests
This package provides a Python library intended for use in automated tests. One difficulty when testing software is that the code under test might need to read or write to files in the local file system. If the file system is not set up in just the right way, it might cause a spurious error during the test. The pyfakefs library provides a solution to problems like this by mocking file system interactions. In other words, it arranges for the code under test to interact with a fake file system instead of the real file system. The code under test requires no modification to work with pyfakefs.
- Website: http://pyfakefs.org/
- Licenses: ASL 2.0
- Package source: gnu/packages/check.scm
- Builds: See build status
- Issues: See known issues
python-pyfakefs 3.7.1 as follows:
guix install firstname.lastname@example.org
Or install the latest version:
guix install python-pyfakefs
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting you user profile. See the
guix shell documentation for more information.