2011-12-01 14:00:12 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2012-02-17 15:00:49 +00:00
|
|
|
"""
|
|
|
|
Tests for the OpenERP library.
|
|
|
|
|
|
|
|
This module groups a few sub-modules containing unittest2 test cases.
|
|
|
|
|
|
|
|
Some of those test sub-modules are explicitely listed in the `fast_suite`
|
|
|
|
variable. Most of the tests should be considered fast enough to be included in
|
|
|
|
that `fast_suite` list and only tests that take a long time to run (e.g. more
|
|
|
|
than a minute) should not be listed.
|
|
|
|
|
|
|
|
Some other test sub-modules are sanity checks explicitely listed in the
|
|
|
|
`checks` variable. These test sub-modules are invariants that must be
|
|
|
|
full-filled at any time. They are expected to always pass: obviously they must
|
|
|
|
pass right after the module is installed, but they must also pass after any
|
|
|
|
other module is installed, after a migration, or even after the database was
|
|
|
|
put in production for a few months.
|
|
|
|
"""
|
2011-12-01 14:00:12 +00:00
|
|
|
|
|
|
|
import test_orm
|
|
|
|
import test_ir_sequence
|
|
|
|
import test_xmlrpc
|
|
|
|
|
2012-02-17 15:00:49 +00:00
|
|
|
fast_suite = [
|
2012-02-13 16:20:58 +00:00
|
|
|
test_xmlrpc, # Creates a database
|
|
|
|
test_ir_sequence, # Assume an existing database
|
2012-02-17 15:00:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
checks = [
|
2012-02-13 16:20:58 +00:00
|
|
|
test_orm, # Assume an existing database
|
|
|
|
]
|
2012-02-01 16:44:04 +00:00
|
|
|
|
2011-12-01 14:00:12 +00:00
|
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|