23 lines
639 B
Python
23 lines
639 B
Python
|
from include import HydrusConstants as HC
|
||
|
from include import TestConstants
|
||
|
from include import TestDB
|
||
|
from include import TestFunctions
|
||
|
from include import TestObjects
|
||
|
import unittest
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
|
||
|
app = TestConstants.App()
|
||
|
|
||
|
suites = []
|
||
|
|
||
|
suites.append( unittest.TestLoader().loadTestsFromModule( TestDB ) )
|
||
|
suites.append( unittest.TestLoader().loadTestsFromModule( TestFunctions ) )
|
||
|
suites.append( unittest.TestLoader().loadTestsFromModule( TestObjects ) )
|
||
|
|
||
|
suite = unittest.TestSuite( suites )
|
||
|
|
||
|
unittest.TextTestRunner( verbosity = 1 ).run( suite )
|
||
|
|
||
|
raw_input()
|
||
|
|