How to handle UserWarning in Proteus?

Hi,

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.

Cheers!

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.

2 Likes

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