Advertisement
olemis

Trac (trunk) [12542] RPC [13710] : test report 2014-03-06

Mar 6th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 35.88 KB | None | 0 0
  1. $ python setup.py test -m tracrpc.tests
  2.  
  3. running test
  4. running egg_info
  5. writing TracXMLRPC.egg-info/PKG-INFO
  6. writing top-level names to TracXMLRPC.egg-info/top_level.txt
  7. writing dependency_links to TracXMLRPC.egg-info/dependency_links.txt
  8. writing entry points to TracXMLRPC.egg-info/entry_points.txt
  9. reading manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
  10. reading manifest template 'MANIFEST.in'
  11. writing manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
  12. running build_ext
  13. test_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  14. test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  15. test_rpc_info (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  16. test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  17. test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  18. test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  19. test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  20. test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  21. test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  22. test_xml_encoding_invalid_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ERROR
  23. test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ERROR
  24. test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  25. test_json_not_available (tracrpc.tests.json_rpc.JsonModuleAvailabilityTestCase) ... ok
  26. test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  27. test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ERROR
  28. test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  29. test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  30. test_fragment (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  31. test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  32. test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  33. test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  34. test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  35. test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  36. test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  37. test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  38. test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  39. test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  40. test_create_ticket_validate (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  41. test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  42. test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  43. test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  44. test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  45. test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  46. test_update_action (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  47. test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  48. test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  49. test_update_author (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  50. test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  51. test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  52. test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... FAIL
  53. test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  54. test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  55. test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ERROR
  56. test_getall_default (tracrpc.tests.ticket.RpcTicketTypeTestCase) ... ERROR
  57. test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  58. test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  59. test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  60. test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  61. test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  62. test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  63. test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  64. test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  65. test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  66. test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  67. test_fragment_in_search (tracrpc.tests.search.RpcSearchTestCase) ... ERROR
  68.  
  69. ======================================================================
  70. ERROR: test_xml_encoding_invalid_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  71. ----------------------------------------------------------------------
  72. Traceback (most recent call last):
  73.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 143, in test_xml_encoding_invalid_characters
  74.     self.assertEquals(u'\uFFFD', self.user.test_unichr.unichr(x),
  75.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  76.     return self.__send(self.__name, args)
  77.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  78.     verbose=self.__verbose
  79.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  80.     return self.single_request(host, handler, request_body, verbose)
  81.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  82.     response.msg,
  83. ProtocolError: <ProtocolError for user:user@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  84.  
  85. ======================================================================
  86. ERROR: test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  87. ----------------------------------------------------------------------
  88. Traceback (most recent call last):
  89.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 106, in test_xml_encoding_special_characters
  90.     'One & Two < Four', 'Desc & ription', {})
  91.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  92.     return self.__send(self.__name, args)
  93.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  94.     verbose=self.__verbose
  95.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  96.     return self.single_request(host, handler, request_body, verbose)
  97.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  98.     response.msg,
  99. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  100.  
  101. ======================================================================
  102. ERROR: test_call (tracrpc.tests.json_rpc.JsonTestCase)
  103. ----------------------------------------------------------------------
  104. Traceback (most recent call last):
  105.   File "/path/to/trac-rpc/trunk/tracrpc/tests/json_rpc.py", line 94, in test_call
  106.     self.assertTrue('system.methodHelp' in result['result'])
  107. TypeError: argument of type 'NoneType' is not iterable
  108.  
  109. ======================================================================
  110. ERROR: test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase)
  111. ----------------------------------------------------------------------
  112. Traceback (most recent call last):
  113.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 95, in test_FineGrainedSecurity
  114.     self.assertEquals(1, self.admin.ticket.create('abc', '123', {}))
  115.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  116.     return self.__send(self.__name, args)
  117.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  118.     verbose=self.__verbose
  119.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  120.     return self.single_request(host, handler, request_body, verbose)
  121.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  122.     response.msg,
  123. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  124.  
  125. ======================================================================
  126. ERROR: test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase)
  127. ----------------------------------------------------------------------
  128. Traceback (most recent call last):
  129.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 221, in test_create_at_time
  130.     minus1)
  131.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  132.     return self.__send(self.__name, args)
  133.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  134.     verbose=self.__verbose
  135.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  136.     return self.single_request(host, handler, request_body, verbose)
  137.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  138.     response.msg,
  139. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  140.  
  141. ======================================================================
  142. ERROR: test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase)
  143. ----------------------------------------------------------------------
  144. Traceback (most recent call last):
  145.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 31, in test_create_get_delete
  146.     tid = self.admin.ticket.create("create_get_delete", "fooy", {})
  147.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  148.     return self.__send(self.__name, args)
  149.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  150.     verbose=self.__verbose
  151.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  152.     return self.single_request(host, handler, request_body, verbose)
  153.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  154.     response.msg,
  155. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  156.  
  157. ======================================================================
  158. ERROR: test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase)
  159. ----------------------------------------------------------------------
  160. Traceback (most recent call last):
  161.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 364, in test_create_ticket_9096
  162.     response = urllib2.urlopen(request)
  163.   File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
  164.     return _opener.open(url, data, timeout)
  165.   File "/usr/lib/python2.7/urllib2.py", line 410, in open
  166.     response = meth(req, response)
  167.   File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
  168.     'http', request, response, code, msg, hdrs)
  169.   File "/usr/lib/python2.7/urllib2.py", line 448, in error
  170.     return self._call_chain(*args)
  171.   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
  172.     result = func(*args)
  173.   File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
  174.     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  175. HTTPError: HTTP Error 500: Internal Server Error
  176.  
  177. ======================================================================
  178. ERROR: test_create_ticket_validate (tracrpc.tests.ticket.RpcTicketTestCase)
  179. ----------------------------------------------------------------------
  180. Traceback (most recent call last):
  181.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 398, in test_create_ticket_validate
  182.     'Expected success')
  183.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  184.     return self.__send(self.__name, args)
  185.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  186.     verbose=self.__verbose
  187.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  188.     return self.single_request(host, handler, request_body, verbose)
  189.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  190.     response.msg,
  191. ProtocolError: <ProtocolError for user:user@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  192.  
  193. ======================================================================
  194. ERROR: test_getActions (tracrpc.tests.ticket.RpcTicketTestCase)
  195. ----------------------------------------------------------------------
  196. Traceback (most recent call last):
  197.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 40, in test_getActions
  198.     tid = self.admin.ticket.create("ticket_getActions", "kjsald", {})
  199.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  200.     return self.__send(self.__name, args)
  201.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  202.     verbose=self.__verbose
  203.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  204.     return self.single_request(host, handler, request_body, verbose)
  205.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  206.     response.msg,
  207. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  208.  
  209. ======================================================================
  210. ERROR: test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase)
  211. ----------------------------------------------------------------------
  212. Traceback (most recent call last):
  213.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 67, in test_getAvailableActions_DeleteTicket
  214.     tid = self.admin.ticket.create('abc', 'def', {})
  215.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  216.     return self.__send(self.__name, args)
  217.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  218.     verbose=self.__verbose
  219.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  220.     return self.single_request(host, handler, request_body, verbose)
  221.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  222.     response.msg,
  223. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  224.  
  225. ======================================================================
  226. ERROR: test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase)
  227. ----------------------------------------------------------------------
  228. Traceback (most recent call last):
  229.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 139, in test_getRecentChanges
  230.     tid1 = self.admin.ticket.create("ticket_getRecentChanges", "one", {})
  231.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  232.     return self.__send(self.__name, args)
  233.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  234.     verbose=self.__verbose
  235.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  236.     return self.single_request(host, handler, request_body, verbose)
  237.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  238.     response.msg,
  239. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  240.  
  241. ======================================================================
  242. ERROR: test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase)
  243. ----------------------------------------------------------------------
  244. Traceback (most recent call last):
  245.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 152, in test_query_group_order_col
  246.     {'type': 'enhancement', 'owner': 'A'})
  247.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  248.     return self.__send(self.__name, args)
  249.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  250.     verbose=self.__verbose
  251.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  252.     return self.single_request(host, handler, request_body, verbose)
  253.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  254.     response.msg,
  255. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  256.  
  257. ======================================================================
  258. ERROR: test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase)
  259. ----------------------------------------------------------------------
  260. Traceback (most recent call last):
  261.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 185, in test_query_special_character_escape
  262.     "test_special_character_escape", {}))
  263.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  264.     return self.__send(self.__name, args)
  265.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  266.     verbose=self.__verbose
  267.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  268.     return self.single_request(host, handler, request_body, verbose)
  269.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  270.     response.msg,
  271. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  272.  
  273. ======================================================================
  274. ERROR: test_update_action (tracrpc.tests.ticket.RpcTicketTestCase)
  275. ----------------------------------------------------------------------
  276. Traceback (most recent call last):
  277.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 318, in test_update_action
  278.     tid = self.admin.ticket.create('test_update_action', 'ss')
  279.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  280.     return self.__send(self.__name, args)
  281.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  282.     verbose=self.__verbose
  283.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  284.     return self.single_request(host, handler, request_body, verbose)
  285.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  286.     response.msg,
  287. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  288.  
  289. ======================================================================
  290. ERROR: test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase)
  291. ----------------------------------------------------------------------
  292. Traceback (most recent call last):
  293.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 329, in test_update_action_non_existing
  294.     tid = self.admin.ticket.create('test_update_action_wrong', 'ss')
  295.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  296.     return self.__send(self.__name, args)
  297.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  298.     verbose=self.__verbose
  299.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  300.     return self.single_request(host, handler, request_body, verbose)
  301.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  302.     response.msg,
  303. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  304.  
  305. ======================================================================
  306. ERROR: test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase)
  307. ----------------------------------------------------------------------
  308. Traceback (most recent call last):
  309.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 237, in test_update_at_time
  310.     tid = self.admin.ticket.create("ticket_update_at_time", "ok", {})
  311.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  312.     return self.__send(self.__name, args)
  313.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  314.     verbose=self.__verbose
  315.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  316.     return self.single_request(host, handler, request_body, verbose)
  317.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  318.     response.msg,
  319. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  320.  
  321. ======================================================================
  322. ERROR: test_update_author (tracrpc.tests.ticket.RpcTicketTestCase)
  323. ----------------------------------------------------------------------
  324. Traceback (most recent call last):
  325.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 197, in test_update_author
  326.     tid = self.admin.ticket.create("ticket_update_author", "one", {})
  327.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  328.     return self.__send(self.__name, args)
  329.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  330.     verbose=self.__verbose
  331.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  332.     return self.single_request(host, handler, request_body, verbose)
  333.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  334.     response.msg,
  335. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  336.  
  337. ======================================================================
  338. ERROR: test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase)
  339. ----------------------------------------------------------------------
  340. Traceback (most recent call last):
  341.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 265, in test_update_basic
  342.     'owner': 'osimons'})
  343.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  344.     return self.__send(self.__name, args)
  345.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  346.     verbose=self.__verbose
  347.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  348.     return self.single_request(host, handler, request_body, verbose)
  349.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  350.     response.msg,
  351. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  352.  
  353. ======================================================================
  354. ERROR: test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase)
  355. ----------------------------------------------------------------------
  356. Traceback (most recent call last):
  357.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 339, in test_update_field_non_existing
  358.     tid = self.admin.ticket.create('test_update_field_non_existing', 'yw3')
  359.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  360.     return self.__send(self.__name, args)
  361.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  362.     verbose=self.__verbose
  363.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  364.     return self.single_request(host, handler, request_body, verbose)
  365.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  366.     response.msg,
  367. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  368.  
  369. ======================================================================
  370. ERROR: test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase)
  371. ----------------------------------------------------------------------
  372. Traceback (most recent call last):
  373.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 281, in test_update_time_changed
  374.     tid = self.admin.ticket.create('test_update_time_changed', '...', {})
  375.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  376.     return self.__send(self.__name, args)
  377.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  378.     verbose=self.__verbose
  379.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  380.     return self.single_request(host, handler, request_body, verbose)
  381.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  382.     response.msg,
  383. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  384.  
  385. ======================================================================
  386. ERROR: test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase)
  387. ----------------------------------------------------------------------
  388. Traceback (most recent call last):
  389.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 301, in test_update_time_same
  390.     tid = self.admin.ticket.create('test_update_time_same', '...', {})
  391.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  392.     return self.__send(self.__name, args)
  393.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  394.     verbose=self.__verbose
  395.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  396.     return self.single_request(host, handler, request_body, verbose)
  397.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  398.     response.msg,
  399. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  400.  
  401. ======================================================================
  402. ERROR: test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase)
  403. ----------------------------------------------------------------------
  404. Traceback (most recent call last):
  405.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 447, in test_create
  406.     {'time': dt, 'description': desc})
  407.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  408.     return self.__send(self.__name, args)
  409.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  410.     verbose=self.__verbose
  411.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  412.     return self.single_request(host, handler, request_body, verbose)
  413.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  414.     response.msg,
  415. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  416.  
  417. ======================================================================
  418. ERROR: test_getall_default (tracrpc.tests.ticket.RpcTicketTypeTestCase)
  419. ----------------------------------------------------------------------
  420. Traceback (most recent call last):
  421.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 466, in test_getall_default
  422.     sorted(self.anon.ticket.type.getAll()))
  423.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  424.     return self.__send(self.__name, args)
  425.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  426.     verbose=self.__verbose
  427.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  428.     return self.single_request(host, handler, request_body, verbose)
  429.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  430.     response.msg,
  431. ProtocolError: <ProtocolError for 127.0.0.1:8765/rpc: 500 Internal Server Error>
  432.  
  433. ======================================================================
  434. ERROR: test_attachments (tracrpc.tests.wiki.RpcWikiTestCase)
  435. ----------------------------------------------------------------------
  436. Traceback (most recent call last):
  437.   File "/path/to/trac-rpc/trunk/tracrpc/tests/wiki.py", line 37, in test_attachments
  438.     xmlrpclib.Binary(image_in.getvalue()))
  439.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  440.     return self.__send(self.__name, args)
  441.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  442.     verbose=self.__verbose
  443.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  444.     return self.single_request(host, handler, request_body, verbose)
  445.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  446.     response.msg,
  447. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  448.  
  449. ======================================================================
  450. ERROR: test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase)
  451. ----------------------------------------------------------------------
  452. Traceback (most recent call last):
  453.   File "/path/to/trac-rpc/trunk/tracrpc/tests/wiki.py", line 70, in test_getPageHTMLWithImage
  454.     '[[Image(wiki:ImageTest:feed.png, nolink)]]\n', {})
  455.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  456.     return self.__send(self.__name, args)
  457.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  458.     verbose=self.__verbose
  459.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  460.     return self.single_request(host, handler, request_body, verbose)
  461.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  462.     response.msg,
  463. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  464.  
  465. ======================================================================
  466. ERROR: test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase)
  467. ----------------------------------------------------------------------
  468. Traceback (most recent call last):
  469.   File "/path/to/trac-rpc/trunk/tracrpc/tests/wiki.py", line 88, in test_getPageHTMLWithManipulator
  470.     self.admin.wiki.putPage('FooBar', 'foo bar', {})
  471.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  472.     return self.__send(self.__name, args)
  473.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  474.     verbose=self.__verbose
  475.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  476.     return self.single_request(host, handler, request_body, verbose)
  477.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  478.     response.msg,
  479. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  480.  
  481. ======================================================================
  482. ERROR: test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase)
  483. ----------------------------------------------------------------------
  484. Traceback (most recent call last):
  485.   File "/path/to/trac-rpc/trunk/tracrpc/tests/wiki.py", line 55, in test_getRecentChanges
  486.     self.admin.wiki.putPage('WikiOne', 'content one', {})
  487.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  488.     return self.__send(self.__name, args)
  489.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  490.     verbose=self.__verbose
  491.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  492.     return self.single_request(host, handler, request_body, verbose)
  493.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  494.     response.msg,
  495. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  496.  
  497. ======================================================================
  498. ERROR: test_fragment_in_search (tracrpc.tests.search.RpcSearchTestCase)
  499. ----------------------------------------------------------------------
  500. Traceback (most recent call last):
  501.   File "/path/to/trac-rpc/trunk/tracrpc/tests/search.py", line 31, in test_fragment_in_search
  502.     {'type': 'enhancement', 'owner': 'A'})
  503.   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
  504.     return self.__send(self.__name, args)
  505.   File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
  506.     verbose=self.__verbose
  507.   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
  508.     return self.single_request(host, handler, request_body, verbose)
  509.   File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request
  510.     response.msg,
  511. ProtocolError: <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  512.  
  513. ======================================================================
  514. FAIL: test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  515. ----------------------------------------------------------------------
  516. Traceback (most recent call last):
  517.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 61, in test_content_encoding
  518.     e = self.assertRaises(xmlrpclib.Fault, local_test)
  519. AssertionError:
  520.  
  521. Expected Fault
  522.  
  523. Got ProtocolError : <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  524.  
  525. ======================================================================
  526. FAIL: test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  527. ----------------------------------------------------------------------
  528. Traceback (most recent call last):
  529.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 41, in test_method_not_found
  530.     e = self.assertRaises(xmlrpclib.Fault, local_test)
  531. AssertionError:
  532.  
  533. Expected Fault
  534.  
  535. Got ProtocolError : <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  536.  
  537. ======================================================================
  538. FAIL: test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  539. ----------------------------------------------------------------------
  540. Traceback (most recent call last):
  541.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 94, in test_resource_not_found
  542.     e = self.assertRaises(xmlrpclib.Fault, self.admin.ticket.get, 2147483647)
  543. AssertionError:
  544.  
  545. Expected Fault
  546.  
  547. Got ProtocolError : <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  548.  
  549. ======================================================================
  550. FAIL: test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  551. ----------------------------------------------------------------------
  552. Traceback (most recent call last):
  553.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 49, in test_wrong_argspec
  554.     e = self.assertRaises(xmlrpclib.Fault, local_test)
  555. AssertionError:
  556.  
  557. Expected Fault
  558.  
  559. Got ProtocolError : <ProtocolError for admin:admin@127.0.0.1:8765/login/xmlrpc: 500 Internal Server Error>
  560.  
  561. ======================================================================
  562. FAIL: test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  563. ----------------------------------------------------------------------
  564. Traceback (most recent call last):
  565.   File "/path/to/trac-rpc/trunk/tracrpc/tests/xml_rpc.py", line 31, in test_xmlrpc_permission
  566.     self.anon.system.listMethods)
  567. AssertionError:
  568.  
  569. Expected Fault
  570.  
  571. Got ProtocolError : <ProtocolError for 127.0.0.1:8765/rpc: 500 Internal Server Error>
  572.  
  573. ======================================================================
  574. FAIL: test_call_permission (tracrpc.tests.json_rpc.JsonTestCase)
  575. ----------------------------------------------------------------------
  576. Traceback (most recent call last):
  577.   File "/path/to/trac-rpc/trunk/tracrpc/tests/json_rpc.py", line 219, in test_call_permission
  578.     'perform this operation' in result['error']['message'])
  579. AssertionError: False is not true
  580.  
  581. ======================================================================
  582. FAIL: test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase)
  583. ----------------------------------------------------------------------
  584. Traceback (most recent call last):
  585.   File "/path/to/trac-rpc/trunk/tracrpc/tests/json_rpc.py", line 198, in test_method_not_found
  586.     self.assertEquals(-32601, result['error']['code'])
  587. AssertionError: -32601 != 403
  588.  
  589. ======================================================================
  590. FAIL: test_multicall (tracrpc.tests.json_rpc.JsonTestCase)
  591. ----------------------------------------------------------------------
  592. Traceback (most recent call last):
  593.   File "/path/to/trac-rpc/trunk/tracrpc/tests/json_rpc.py", line 106, in test_multicall
  594.     self.assertEquals(None, result['error'])
  595. AssertionError: None != {u'message': u"XML_RPC privileges are required to perform this operation. You don't have the required permissions.", u'code': 403, u'name': u'JSONRPCError'}
  596.  
  597. ======================================================================
  598. FAIL: test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase)
  599. ----------------------------------------------------------------------
  600. Traceback (most recent call last):
  601.   File "/path/to/trac-rpc/trunk/tracrpc/tests/json_rpc.py", line 226, in test_resource_not_found
  602.     self.assertEquals(result['error']['code'], 404)
  603. AssertionError: 403 != 404
  604.  
  605. ======================================================================
  606. FAIL: test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase)
  607. ----------------------------------------------------------------------
  608. Traceback (most recent call last):
  609.   File "/path/to/trac-rpc/trunk/tracrpc/tests/json_rpc.py", line 207, in test_wrong_argspec
  610.     self.assertEquals(-32603, result['error']['code'])
  611. AssertionError: -32603 != 403
  612.  
  613. ======================================================================
  614. FAIL: test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase)
  615. ----------------------------------------------------------------------
  616. Traceback (most recent call last):
  617.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 259, in test_update_non_existing
  618.     self.assertTrue("Ticket 3344 does not exist." in str(e))
  619. AssertionError: False is not true
  620.  
  621. ----------------------------------------------------------------------
  622. Ran 55 tests in 31.827s
  623.  
  624. FAILED (failures=11, errors=28)
  625.  
  626. Found Trac source: /path/to/trac
  627. Enabling RPC plugin and permissions...
  628. Created test environment: /path/to/trac-rpc/trunk/rpctestenv
  629. Starting web server: http://127.0.0.1:8765
  630. ==> at http://127.0.0.1:8765
  631. ==> at http://127.0.0.1:8765
  632. ==> at http://127.0.0.1:8765
  633. ==> at http://127.0.0.1:8765
  634. ==> at http://127.0.0.1:8765
  635. ==> at http://127.0.0.1:8765
  636. ==> at http://127.0.0.1:8765
  637. /path/to/trac/trac/util/__init__.py:383: RuntimeWarning: Parent module 'trac.util' not found while handling absolute import
  638.   import os
  639. /path/to/trac/trac/util/__init__.py:384: RuntimeWarning: Parent module 'trac.util' not found while handling absolute import
  640.   import signal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement