~openerp-community/openobject-server/fix-1130010-toxml-escape-quot

« back to all changes in this revision

Viewing changes to openerp/tools/test_reports.py

  • Committer: Vo Minh Thu
  • Date: 2011-02-07 12:57:23 UTC
  • mto: This revision was merged to the branch mainline in revision 3351.
  • Revision ID: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
[IMP] openerp python module.

- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    through the code of yaml tests.
26
26
"""
27
27
 
28
 
import netsvc
29
 
import tools
 
28
import openerp.netsvc as netsvc
 
29
import openerp.tools as tools
30
30
import logging
31
 
import pooler
32
 
from tools.safe_eval import safe_eval
 
31
import openerp.pooler as pooler
 
32
from openerp.tools.safe_eval import safe_eval
33
33
from subprocess import Popen, PIPE
34
34
import os
35
35
import tempfile