Message255061
| 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:05 | Niv Ben-David | set | recipients: + Niv Ben-David |
| 2015-11-21 16:23:04 | Niv Ben-David | set | messageid: <1448122983.8.0.049241542179.issue25690@psf.upfronthosting.co.za> |
| 2015-11-21 16:23:03 | Niv Ben-David | link | issue25690 messages |
| 2015-11-21 16:23:03 | Niv Ben-David | create | |