← Back to team overview

openerp-community team mailing list archive

Re: Asserting exceptions in yaml tests (solved)

 

Dear Olivier,
Just to keep you and others from spending time on this: I finally figured out that I can avoid the trouble by putting the values I want to commit in the demo dataset, and let OpenERP roll back the tests.
Lionel.

Le 24/05/2013 15:33, Lionel Sausin a écrit :
Dear Olivier Dony,
We're in the process of writing a YAML test which involves raising/catching an exception, and that the v6.0 server does a rollback in this case. We've found the situation well explained (and a worked around) in a discussion that you took part in :
     https://lists.launchpad.net/openerp-community/msg00532.html

Can you please tell us if this is still to be expected with recent releases ? If it is, would you like me to file a bug regarding this behavior so as to document it ?

Thanks in advance,
Lionel.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp



References