This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Niv Ben-David
Recipients Niv Ben-David
Date 2015-11-21.16:22:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448122983.8.0.049241542179.issue25690@psf.upfronthosting.co.za>
In-reply-to
Content
The unittest.mock module defines a mock_open utility to mock the builtin open function.

During a recent project I found I needed something more. Specifically, mocking different files at the same time, better mocking for operations (like seek, readlines, etc.) among others.

The project can also be found on http://github.com/nivbend/mock-open

Thanks
History
Date User Action Args
2015-11-21 16:23:05Niv Ben-Davidsetrecipients: + Niv Ben-David
2015-11-21 16:23:04Niv Ben-Davidsetmessageid: <1448122983.8.0.049241542179.issue25690@psf.upfronthosting.co.za>
2015-11-21 16:23:03Niv Ben-Davidlinkissue25690 messages
2015-11-21 16:23:03Niv Ben-Davidcreate