[IMP] Moved the tests directory inside the openerp module, added --run-tests command...
[odoo/odoo.git] / openerp / tests / __init__.py
1 # -*- coding: utf-8 -*-
2 import unittest2
3
4 import test_orm
5 import test_ir_sequence
6 import test_xmlrpc
7
8 def make_suite():
9     suite = unittest2.TestSuite()
10     suite.addTests(unittest2.TestLoader().loadTestsFromModule(test_ir_sequence))
11     suite.addTests(unittest2.TestLoader().loadTestsFromModule(test_orm))
12     return suite
13
14 def make_suite_no_db():
15     suite = unittest2.TestSuite()
16     suite.addTests(unittest2.TestLoader().loadTestsFromModule(test_xmlrpc))
17     return suite