]> WPIA git - motion.git/blob - jenkins_job.py
add: configuration for Jenkins
[motion.git] / jenkins_job.py
1 import unittest
2 import xmlrunner
3
4 def runner(output='python_tests_xml'):
5     return xmlrunner.XMLTestRunner(
6         output=output
7     )
8
9 def find_tests():
10     return unittest.TestLoader().discover('tests', 'test_motion.py')
11
12 if __name__ == "__main__":
13     runner().run(find_tests())