[New-bugs-announce] [issue2156] TestCase.tmpdir(), TestCase.mock()
report at bugs.python.org
Thu Feb 21 17:11:36 CET 2008
New submission from Virgil Dupras:
I've been using unittest for quite a while. One thing I got tired with is
the code duplication for file management and mocking. A few months ago I
created this nifty little TestCase subclass and I've been using it ever
since. It works quite well.
Am I the only one to extensively use temporary files and mocking in my
tests? If not, I would suggest integrating my little subclass to
unittest.Testcase, or if people think these functionalities out-scope
unittest.TestCase, maybe we could put it in a separate unit.
Here's the unit I have here.
title: TestCase.tmpdir(), TestCase.mock()
type: feature request
versions: Python 2.6
Added file: http://bugs.python.org/file9481/testcase.py
Tracker <report at bugs.python.org>
More information about the New-bugs-announce