Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

trac:10786 test report Trac=trunk python=2.6

By: olemis on May 21st, 2013  |  syntax: Bash  |  size: 6.76 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ python setup.py test
  2. running test
  3. running egg_info
  4. writing TracXMLRPC.egg-info/PKG-INFO
  5. writing top-level names to TracXMLRPC.egg-info/top_level.txt
  6. writing dependency_links to TracXMLRPC.egg-info/dependency_links.txt
  7. writing entry points to TracXMLRPC.egg-info/entry_points.txt
  8. reading manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
  9. reading manifest template 'MANIFEST.in'
  10. writing manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
  11. running build_ext
  12.  
  13. Found Trac source: /path/to/trac
  14. Enabling RPC plugin and permissions...
  15. Created test environment: /path/to/trac-rpc/trunk/rpctestenv
  16. Starting web server: http://127.0.0.1:8765
  17. test_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  18. test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  19. test_rpc_info (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  20. test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  21. test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  22. test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  23. test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  24. test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  25. test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  26. test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  27. test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  28. test_json_not_available (tracrpc.tests.json_rpc.JsonModuleAvailabilityTestCase) ... ok
  29. test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  30. test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  31. test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  32. test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  33. test_fragment (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  34. test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  35. test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  36. test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  37. test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  38. test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  39. test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  40. test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  41. test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  42. test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  43. test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... FAIL
  44. test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  45. test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  46. test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... FAIL
  47. test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  48. test_update_action (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  49. test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  50. test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  51. test_update_author (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  52. test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  53. test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  54. test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  55. test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  56. test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  57. test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ok
  58. test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  59. test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  60. test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  61. test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  62. test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  63. test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  64. test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  65. test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  66. test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  67. test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  68. test_fragment_in_search (tracrpc.tests.search.RpcSearchTestCase) ... FAIL
  69.  
  70. ======================================================================
  71. FAIL: test_getActions (tracrpc.tests.ticket.RpcTicketTestCase)
  72. ----------------------------------------------------------------------
  73. Traceback (most recent call last):
  74.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 54, in test_getActions
  75.     self.assertEquals(actions, default)
  76. AssertionError: [['leave', 'leave', 'The ticket will remain with no owner.', []], ['resolve', 'resolve', "The resolution will be set. Next status will be 'closed'.", [['action_resolve_resolve_resolution', 'fixed', ['fixed', 'invalid', 'wontfix', 'duplicate', 'worksforme']]]], ['reassign', 'reassign', "The owner will be changed from (none) to the specified user. Next status will be 'assigned'.", [['action_reassign_reassign_owner', 'admin', []]]], ['accept', 'accept', "The owner will be changed from (none) to admin. Next status will be 'accepted'.", []]] != [['leave', 'leave', '.', []], ['resolve', 'resolve', "The resolution will be set. Next status will be 'closed'.", [['action_resolve_resolve_resolution', 'fixed', ['fixed', 'invalid', 'wontfix', 'duplicate', 'worksforme']]]], ['reassign', 'reassign', "The owner will be changed from (none). Next status will be 'assigned'.", [['action_reassign_reassign_owner', 'admin', []]]], ['accept', 'accept', "The owner will be changed from (none) to admin. Next status will be 'accepted'.", []]]
  77.  
  78. ======================================================================
  79. FAIL: test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase)
  80. ----------------------------------------------------------------------
  81. Traceback (most recent call last):
  82.   File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 148, in test_query_group_order_col
  83.     self.assertEquals([3,1,2], self.admin.ticket.query("order=type"))
  84. AssertionError: [3, 1, 2] != [1, 4, 2, 3]
  85.  
  86. ======================================================================
  87. FAIL: test_fragment_in_search (tracrpc.tests.search.RpcSearchTestCase)
  88. ----------------------------------------------------------------------
  89. Traceback (most recent call last):
  90.   File "/path/to/trac-rpc/trunk/tracrpc/tests/search.py", line 36, in test_fragment_in_search
  91.     results[0][1])
  92. AssertionError: '<span class="new">#1</span>: enhancement: ticket10786 (new)' != '<span class="new">#5</span>: enhancement: ticket10786 (new)'
  93.  
  94. ----------------------------------------------------------------------
  95. Ran 52 tests in 82.272s
  96.  
  97. FAILED (failures=3)
  98.  
  99. Stopping web server...