blob: 6bf75407ecd0f9de0c0122aed068d6caa16a4644 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/env python
import unittest
import sys
sys.path.append('tests')
modules_to_test = (
'test_expect',
'test_ansi',
'test_command_list_split',
'test_destructor',
'test_missing_command',
'test_run_out_of_pty',
'test_screen'
)
def suite():
alltests = unittest.TestSuite()
for module in map(__import__, modules_to_test):
alltests.addTest(unittest.findTestCases(module))
return alltests
if __name__ == '__main__':
unittest.main(defaultTest='suite')
|