pytest-aiofiles pytest-aiofiles provides pytest fixtures for writing aiofiles tests using pyfakefs, instead of real file IO. Features fake filesystem fixture attached to aiofiles automatic aiofiles monkey-patching Documentation https://pytest-aiofiles.readthedocs.io/ Source code https://github.com/ptpb/pytest-aiofiles