On Tue, Oct 18, 2016 at 3:44 PM, Sergi Almacellas Abellana <se...@koolpi.com
> 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.
Sorry, I think I made you confuse.
I made 2 question in one email:
The 1st question is how to write and call unittest. I had already
understand the concept and trying to understand by hand on.
The 2nd question is how to call method from proteus. --> This is not for
Unit Test but for development.
How to call the method from proteus usign RPC?
Apologize again, to make you confuse
> 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 https://groups.google.com/d/ms
You received this message because you are subscribed to the Google Groups
To view this discussion on the web visit