how to make all assertions in a unit test execute
Ben Finney
ben+python at benfinney.id.au
Sat Oct 16 18:50:30 EDT 2010
Ben Finney <ben+python at benfinney.id.au> writes:
> Yes, that's by design. Each function in a TestCase subclass is a test
> case […]
Poorly described. Try this instead: Each test case in a TestCase
subclass must be a separate function, whose name starts with ‘test’.
Or you could see what the documentation says; it may describe it better
than I'm doing :-)
--
\ “Kill myself? Killing myself is the last thing I'd ever do.” |
`\ —Homer, _The Simpsons_ |
_o__) |
Ben Finney
More information about the Python-list
mailing list