On Tue, Oct 18, 2016 at 3:18 PM, Sergi Almacellas Abellana <se...@koolpi.com > wrote:
> El 17/10/16 a les 19:27, Markus Bala ha escrit: > >> thank you for your comment. >> Now I understand where to start to write my unit test. I will try later. >> >> I have a question. >> Is it possible Proteus able to call method/function? >> > Yes, you can use proteus to call any RPC method, but I'm pretty sure we > can give a better advice if you explain more concretly what do you want to > do we can give a better advice. > > Also, make sure to take a look at the standard module test to have an idea > of what it's possible to do and come here with your doubts if any. > > Hope it helps! Hi Sergi, Example code as below, if in the proteus, how am I going to call "test_method"? Class stock_move: def test_method(self, value1, value2): return value1 + value2 > > > -- > Sergi Almacellas Abellana > www.koolpi.com > 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 > gid/tryton-dev/870b9e2f-5eee-13b8-5f14-159970849650%40koolpi.com. > -- 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/msgid/tryton-dev/CAOzpWEEiTsqLhpN4EEh-j-KgJAorT47GZ8kyVkqz0ap5XdAPGg%40mail.gmail.com.