anfema / integrate

Python integration test framework
BSD 3-Clause "New" or "Revised" License
39 stars 7 forks source link

WIP: Filter out discovered superclasses #3

Closed withrocks closed 6 years ago

withrocks commented 6 years ago

In general, test cases will be subclasses of the class TestCase (A). But users might want to subclass a subclass of TestCase instead (B). In that case, neither class A nor B should be included in the set of discovered test cases.

Before this patch, only class A was being filtered out.

dunkelstern commented 6 years ago

Looks good, could probably merge, any changes (because of the WIP in the title) you would like to add?