summary refs log blame commit diff stats
path: root/all_tests.py
blob: b408b5de2946037336d5b17c6e0788ed200f6054 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                               
#!/usr/bin/python3
import unittest
from test import *

tests = []
for key, val in vars().copy().items():
	if key.startswith('tc_'):
		tests.extend(v for k,v in vars(val).items() if type(v) == type)

suite = unittest.TestSuite(map(unittest.makeSuite, tests))
unittest.TextTestRunner(verbosity=2).run(suite)