Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Testing in Odoo v8

by
manuel
- 05/11/2015 19:07:49
Hi Moisés,

I've just removed the first line.  But the errors are still produced:

INFO testingdb_66ddc7ceb openerp.modules.loading: loading
base/tests/test_ir_rule.yml
INFO testingdb_66ddc7ceb openerp.modules.module:
openerp.addons.base.tests.test_acl running tests.
INFO testingdb_66ddc7ceb openerp.addons.base.tests.test_acl:
test_field_crud_restriction (openerp.addons.base.tests.test_acl.TestACL)
INFO testingdb_66ddc7ceb openerp.addons.base.tests.test_acl: `
Read/Write RPC access to restricted field should be forbidden
ERROR False openerp.addons.base.tests.test_acl: ERROR
INFO False openerp.addons.base.tests.test_acl:
test_field_visibility_restriction
(openerp.addons.base.tests.test_acl.TestACL)
INFO False openerp.addons.base.tests.test_acl: ` Check that model-level
``groups`` parameter effectively restricts access to that
ERROR False openerp.addons.base.tests.test_acl: ERROR
INFO False openerp.addons.base.tests.test_acl:
test_fields_browse_restriction (openerp.addons.base.tests.test_acl.TestACL)
INFO False openerp.addons.base.tests.test_acl: ` Test access to records
having restricted fields
ERROR False openerp.addons.base.tests.test_acl: ERROR
INFO False openerp.addons.base.tests.test_acl: ==========

Notice that the first logs do have the right testingdb DB but then, the
reported DB in the logs changes to False.



Le 11/05/2015 11:15, Moises Lopez a écrit :
> Remove your second command:
> openerp-server -d testdb_39 -i all --stop-after-init
> 
> Just use the third one:
> openerp-server -d testdb_39 -i all --stop-after-init --test-enable
> --log-level=test
>