about summary refs log tree commit diff stats
path: root/enumerate
diff options
context:
space:
mode:
Diffstat (limited to 'enumerate')
0 files changed, 0 insertions, 0 deletions
n' href='/akspecs/ranger/blame/all_tests.py?h=v1.9.3&id=649a69cb87af38f4bf1848085d49d1193f6e01ab'>^
084a0743 ^
22449efd ^

1
2
3
4
5
6
7
8
9
10
11
12
13
                  



                                                                   
 



                                                                                       
 

                                                                  
#!/usr/bin/python3
"""Run all the tests inside the test/ directory as a test suite."""
if __name__ == '__main__':
	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)