How to handle UserWarning in Proteus?


For the Scenario Test or using proteus, how to handle the user warning?

In the proteus, it will give the “xmlrpc.client.Fault: <Fault 2: '(‘UserWarning’,”
How to bypass?

Hi! you can find an example of how to handle exceptions on proteus at stock_package scenario test file.


This does not skip UserWarning indeed the example is a UserError.
In account_statement scenario we actually skip a warning.
I think we could add some syntactic sugar to proteus for that.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.