Note: launching the tests is a bit of a pain, I couldn't get the existing ones 
to run correctly so to get this working, need to create and install a db 
externally (in the long run having a method to create and drop a database at 
e.g. the module level to ensure test modules don't pollute each other might be 
nice), install nose and unittest2, and use the following command (from your 
openerp server root):

    OPENERP_ADDONS_PATH=$ADDONS_PATH OPENERP_DATABASE=$TEST_DB nosetests 
--tests=tests.test_orm

with $ADDONS_PATH and $TEST_DB replaced by the correct values for your machine. 
If you get test failures and the log capture (which is usually huge and not 
very helpful) gets in your way, add `--nologcapture`.
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-fix-o2m-in-contexts-xmo/+merge/78845
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-fix-o2m-in-contexts-xmo.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to