Hi!
Recently I have decided to start writing tests in Python instead of C++, though my services are written in C++.
To cut it short: I do always get the "ValueError: invalid value for argument 1 in operation `AddUser'" exception when trying to run my test.
The faulting ( slice definition ) function is:
The faulting python code is:Code:int AddUser(User objUser, out long lUserId) ;
I am suspecting myself in not clearly understanding how out parameters should be handled by python code.Code:nError, lPlayerUserId = secrt.AddUser(objUser)
Please, could you look into the files attached and provide a hint on what I do wrong.
----
With best regards,
Dmitry

Reply With Quote
