blob: 1d90495ef2134e8f719caf354e9be0470963b528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env python
#Copyright 2012 Calxeda, Inc. All Rights Reserved.
import unittest
from cxmanage_test import tftp_test, image_test, target_test, controller_test
test_modules = [tftp_test, image_test, target_test, controller_test]
def main():
""" Load and run tests """
loader = unittest.TestLoader()
suite = unittest.TestSuite()
for module in test_modules:
suite.addTest(loader.loadTestsFromModule(module))
unittest.TextTestRunner(verbosity=2).run(suite)
if __name__ == "__main__":
main()
|