[MERGE] addons 16 survey
[odoo/odoo.git] / openerp / tests / __init__.py
index 6d29053..aa39b77 100644 (file)
@@ -1,15 +1,29 @@
 # -*- coding: utf-8 -*-
-import unittest2
-
-import test_orm
-import test_ir_sequence
-import test_xmlrpc
-
-# Explicit declaration list of test sub-modules.
-suite = [
-    test_xmlrpc, # Creates a database
-    test_ir_sequence, # Assume an existing database
-    test_orm, # Assume an existing database
-    ]
+"""
+Tests for the OpenERP library.
+
+This module groups a few sub-modules containing unittest2 test cases.
+
+Tests can be explicitely added to the `fast_suite` or `checks` lists or not.
+See the :ref:`test-framework` section in the :ref:`features` list.
+"""
+
+from . import test_expression, test_html_sanitize, test_ir_sequence, test_orm,\
+              test_basecase, \
+              test_view_validation, test_uninstall, test_misc, test_db_cursor
+
+fast_suite = [
+    test_ir_sequence,
+]
+
+checks = [
+    test_expression,
+    test_html_sanitize,
+    test_db_cursor,
+    test_orm,
+    test_basecase,
+    test_view_validation,
+    test_misc,
+]
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: