Message135881
> With this approach is necessary to exclude the base class from the
> tests, either by listing all the Python/C tests explicitly or doing
> some automatic check to find these base classes.
It just needs a small change then:
class PyTest(TestCase):
...
class CTest(TestCase):
...
class TestSomething:
def test_something(self): ...
class TestPySomething(TestSomething, PyTest): pass
class TestCSomething(TestSomething, CTest): pass |
|
Date |
User |
Action |
Args |
2011-05-12 22:47:46 | pitrou | set | recipients:
+ pitrou, fdrake, doerwalter, rhettinger, bob.ippolito, benjamin.peterson, ezio.melotti, jowillia, xuanji |
2011-05-12 22:47:45 | pitrou | link | issue5723 messages |
2011-05-12 22:47:45 | pitrou | create | |
|