subclassing unittest.TestCase?
Steven Taschuk
staschuk at telusplanet.net
Mon Jun 16 13:06:42 EDT 2003
Quoth Chris Curvey:
> I'm trying to subclass unittest.TestCase and add to the constructor.
[...]
Fernando is of course right that the unittest framework creates
TestCases with arguments, so you'll need to pass them through.
But I do wonder why you want to add things to the constructor.
Normally using setUp() is be more appropriate.
--
Steven Taschuk w_w
staschuk at telusplanet.net ,-= U
1 1
More information about the Python-list
mailing list