Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python setup.py test
- running test
- running egg_info
- writing TracXMLRPC.egg-info/PKG-INFO
- writing top-level names to TracXMLRPC.egg-info/top_level.txt
- writing dependency_links to TracXMLRPC.egg-info/dependency_links.txt
- writing entry points to TracXMLRPC.egg-info/entry_points.txt
- reading manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
- running build_ext
- Found Trac source: /path/to/trac
- Enabling RPC plugin and permissions...
- Created test environment: /path/to/trac-rpc/trunk/rpctestenv
- Starting web server: http://127.0.0.1:8765
- test_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
- test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
- test_rpc_info (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
- test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
- test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
- test_json_not_available (tracrpc.tests.json_rpc.JsonModuleAvailabilityTestCase) ... ok
- test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_fragment (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... FAIL
- test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... FAIL
- test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_action (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_author (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ok
- test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
- test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
- test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
- test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
- test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
- test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
- test_fragment_in_search (tracrpc.tests.search.RpcSearchTestCase) ... FAIL
- ======================================================================
- FAIL: test_getActions (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 54, in test_getActions
- self.assertEquals(actions, default)
- 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'.", []]]
- ======================================================================
- FAIL: test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/trac-rpc/trunk/tracrpc/tests/ticket.py", line 148, in test_query_group_order_col
- self.assertEquals([3,1,2], self.admin.ticket.query("order=type"))
- AssertionError: [3, 1, 2] != [1, 4, 2, 3]
- ======================================================================
- FAIL: test_fragment_in_search (tracrpc.tests.search.RpcSearchTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/trac-rpc/trunk/tracrpc/tests/search.py", line 36, in test_fragment_in_search
- results[0][1])
- AssertionError: '<span class="new">#1</span>: enhancement: ticket10786 (new)' != '<span class="new">#5</span>: enhancement: ticket10786 (new)'
- ----------------------------------------------------------------------
- Ran 52 tests in 82.272s
- FAILED (failures=3)
- Stopping web server...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement