~openerp/openobject-client-web/xmo-fix-test-infrastructure-and-add-expr-eval-tests

« back to all changes in this revision

Viewing changes to addons/openerp/__init__.py

  • Committer: Xavier Morel
  • Date: 2011-01-27 12:16:39 UTC
  • Revision ID: xmo@openerp.com-20110127121639-k2puutql1usb8gx4
[ADD] setup of application for contollers testing, trivial test fetching index unlogged

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
import controllers
6
6
 
7
7
tests = [
8
 
    'openerp.tests.test_tools'
 
8
    'openerp.tests.test_tools',
 
9
    'openerp.tests.test_controllers_sanity',
9
10
]
 
11
 
 
12
import cherrypy
 
13
import openobject
 
14
 
 
15
# cherrypy is stupid and gets this in the toplevel package, not the leaf
 
16
# test module
 
17
def setup_server():
 
18
    cherrypy.tree.mount(openobject.application)
 
19
 
 
20
def teardown_server():
 
21
    pass