Pupeno wrote:
> Having A(unittest.TestCase) and B(A), the unittests framework seems not to
> run A's test when testing B, right ?
Wrong:
$ cat hierarchical_tests.py
import unittest
class A(unittest.TestCase):
def test_a(self):
pass
class B(A):
def test_b(self):
pass
if
Hello,
Having A(unittest.TestCase) and B(A), the unittests framework seems not to
run A's test when testing B, right ?
If so, is there any way to 'fix' it ? that is, make all tests in A, also run
for B ?
Thanks.
--
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)
--
http://mail.python.org/mailman/l