File: runtest.py

package info (click to toggle)
rebuildd 0.3.4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 240 kB
  • ctags: 180
  • sloc: python: 1,406; sh: 189; xml: 189; makefile: 27
file content (17 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python

import sys 
 
sys.path.insert(0, "..") 
sys.path.insert(0, ".") 

import unittest
from TestJob import TestJob
from TestDistribution import TestDistribution
from TestRebuildd import TestRebuildd

if __name__ == '__main__':
    suite = unittest.TestLoader().loadTestsFromTestCase(TestJob)
    suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestDistribution))
    suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestRebuildd))
    unittest.TextTestRunner(verbosity=2).run(suite)