summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestit10
1 files changed, 5 insertions, 5 deletions
diff --git a/testit b/testit
index f38d34a..c0496bb 100755
--- a/testit
+++ b/testit
@@ -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()