El 18/10/16 a les 10:27, Markus Bala ha escrit:
Hi Sergi,

Example code as below, if in the proteus, how am I going to call

Class stock_move:
    def test_method(self, value1, value2):
        return value1 + value2
If the code is this simple and you want to test only a method I will write a unittest for it and don't test using proteus.

IMHO Proteus should be used when testing full user interaction, on_change functions or full workflows.

Sergi Almacellas Abellana
Twitter: @pokoli_srk

You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 

Reply via email to