https://github.com/pytest-dev/pyfakefs/ https://pypi.org/project/pyfakefs/
