diff options
-rwxr-xr-x | testit | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -92,11 +92,11 @@ class TwoHardlinksToSameContent(TestCase): def main(): - klasses = [ - DifferentFiles, - TwoIdenticalFiles, - TwoHardlinksToSameContent, - ] + klasses = [o + for name, o in globals().iteritems() + if type(o) == type(object) and + issubclass(o, TestCase) and + o != TestCase] for klass in klasses: test = klass() test.setUp() |