sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17496
Re: [Question #226713]: How to create an instance of an inherited class in unittest Python so that I can register the instance of that class in simpleXMLRPCServer
Question #226713 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226713
Status: Answered => Solved
Aravind confirmed that the question is solved:
Resolved the issue:
Simply passed the method name explicitly as an arg in the Classname inside register_instance like :
self.server.register_instance(XYZ("D")) #previously it was self.server.register_instance(XYZ())
and from the client, I called the same way as before handraise =
client.D()
and it works..
Thanks RaiMan
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.