Gabriel Genellina wrote:
Note that you don't *have* to use partial in this case, as you're
building the suite yourself. Just create the TestCase instances manually:
suite = unittest.TestSuite([
TestGenericWindow('testit', 'brown'),
TestGenericWindow('testit', 'blue'),
Test
Hi List,
I want to make some test case classes that can have some data passed in
to modify the way they behave. I can't see a straightforward manner to
pass data to an __init__() method of a class derived from
unittest.TestCase, or to pass data to a test function within that
class. Being a C+