I am trying to use Kiwi TCMS RPC API (project page) with the newest version installed (3.49) and it fails miserably as below even though I follow the API documentation. I wonder if there is someone that could point me in the right direction.
File "api_test.py", line 18, in <module>
print(testplan.author)
File "/usr/local/lib/python3.4/dist-packages/tcms_api/base.py", line 63, in getter
self._fetch()
File "/usr/local/lib/python3.4/dist-packages/tcms_api/mutable.py", line 273, in _fetch
inject = self._server.TestPlan.get(self.id)
File "/usr/lib/python3.4/xmlrpc/client.py", line 1098, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.4/xmlrpc/client.py", line 1432, in __request
verbose=self.__verbose
File "/usr/local/lib/python3.4/dist-packages/tcms_api/xmlrpc.py", line 79, in request
except http.client.RemoteDisconnected:
AttributeError: 'module' object has no attribute 'RemoteDisconnected'
Aucun commentaire:
Enregistrer un commentaire