Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python setup.py test -m bhrpc.tests
- running test
- running egg_info
- writing requirements to BloodhoundRPC.egg-info/requires.txt
- writing BloodhoundRPC.egg-info/PKG-INFO
- writing top-level names to BloodhoundRPC.egg-info/top_level.txt
- writing dependency_links to BloodhoundRPC.egg-info/dependency_links.txt
- writing entry points to BloodhoundRPC.egg-info/entry_points.txt
- writing requirements to BloodhoundRPC.egg-info/requires.txt
- writing BloodhoundRPC.egg-info/PKG-INFO
- writing top-level names to BloodhoundRPC.egg-info/top_level.txt
- writing dependency_links to BloodhoundRPC.egg-info/dependency_links.txt
- writing entry points to BloodhoundRPC.egg-info/entry_points.txt
- reading manifest file 'BloodhoundRPC.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'BloodhoundRPC.egg-info/SOURCES.txt'
- running build_ext
- ---------------------------------------------------------------------
- Warning: couldn't index the default repository.
- This can happen for a variety of reasons: wrong repository type,
- no appropriate third party library for this repository type,
- no actual repository at the specified repository path...
- You can nevertheless start using your Trac environment, but
- you'll need to check again your trac.ini file and the [trac]
- repository_type and repository_path settings.
- Starting web server ...
- Found Trac source: /path/to/bloodhound/trac
- Found Trac source: /path/to/bloodhound/trac
- Found Bloodhound source: /path/to/bloodhound
- Creating and Initializing Project
- ---------------------------------------------------------------------
- Project environment for 'trac' created.
- You may now configure the environment by editing the file:
- /path/to/bloodhound_rpc/trunk/rpctestenv/trac/conf/trac.ini
- If you'd like to take this new project environment for a test drive,
- try running the Trac standalone web server `tracd`:
- tracd --port 8000 /path/to/bloodhound_rpc/trunk/rpctestenv/trac
- Then point your browser to http://localhost:8000/trac.
- There you can also browse the documentation for your installed
- version of Trac, including information on further setup (such as
- deploying Trac to a real web server).
- The latest documentation can also always be found on the project
- website:
- http://trac.edgewall.org/
- Congratulations!
- Adding TRAC_ADMIN permissions to the admin user admin
- Running upgrades
- Your environment has been upgraded with the default [bhrelations_links] configuration.
- Upgrade done.
- You may want to upgrade the Trac documentation now by running:
- trac-admin /path/to/bloodhound_rpc/trunk/rpctestenv/trac wiki upgrade
- BloodhoundWidgets imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/BloodhoundWidgets
- WikiStart imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
- BloodhoundSearch imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearch
- BloodhoundSearchAdmin imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearchAdmin
- Running wiki upgrades
- TracGuide imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracGuide
- TracSearch imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSearch
- CamelCase imported from /path/to/bloodhound/trac/trac/wiki/default-pages/CamelCase
- InterMapTxt imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterMapTxt
- InterTrac imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterTrac
- InterWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterWiki
- PageTemplates imported from /path/to/bloodhound/trac/trac/wiki/default-pages/PageTemplates
- RecentChanges imported from /path/to/bloodhound/trac/trac/wiki/default-pages/RecentChanges
- SandBox imported from /path/to/bloodhound/trac/trac/wiki/default-pages/SandBox
- TitleIndex imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TitleIndex
- TracAccessibility imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAccessibility
- TracAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAdmin
- TracBackup imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBackup
- TracBatchModify imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBatchModify
- TracBrowser imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBrowser
- TracCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracCgi
- TracChangeset imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracChangeset
- TracEnvironment imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracEnvironment
- TracFastCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFastCgi
- TracFineGrainedPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFineGrainedPermissions
- TracImport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracImport
- TracIni imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracIni
- TracInstall imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInstall
- TracInterfaceCustomization imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInterfaceCustomization
- TracLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLinks
- TracLogging imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLogging
- TracModPython imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModPython
- TracModWSGI imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModWSGI
- TracNavigation imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNavigation
- TracNotification imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNotification
- TracPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPermissions
- TracPlugins imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPlugins
- TracQuery imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracQuery
- TracReports imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracReports
- TracRepositoryAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRepositoryAdmin
- TracRevisionLog imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRevisionLog
- TracRoadmap imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRoadmap
- TracRss imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRss
- TracStandalone imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracStandalone
- TracSupport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSupport
- TracSyntaxColoring imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSyntaxColoring
- TracTickets imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTickets
- TracTicketsCustomFields imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTicketsCustomFields
- TracTimeline imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTimeline
- TracUnicode imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUnicode
- TracUpgrade imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUpgrade
- TracWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWiki
- TracWorkflow imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWorkflow
- WikiDeletePage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiDeletePage
- WikiFormatting imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiFormatting
- WikiHtml imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiHtml
- WikiMacros imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiMacros
- WikiNewPage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiNewPage
- WikiPageNames imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiPageNames
- WikiProcessors imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiProcessors
- WikiRestructuredText imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredText
- WikiRestructuredTextLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredTextLinks
- Skipping wiki Bloodhound upgrades
- Loading default product wiki
- BloodhoundWidgets imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/BloodhoundWidgets
- WikiStart imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
- BloodhoundSearch imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearch
- BloodhoundSearchAdmin imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearchAdmin
- Running default product wiki upgrades
- TracGuide imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracGuide
- TracSearch imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSearch
- CamelCase imported from /path/to/bloodhound/trac/trac/wiki/default-pages/CamelCase
- InterMapTxt imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterMapTxt
- InterTrac imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterTrac
- InterWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterWiki
- PageTemplates imported from /path/to/bloodhound/trac/trac/wiki/default-pages/PageTemplates
- RecentChanges imported from /path/to/bloodhound/trac/trac/wiki/default-pages/RecentChanges
- SandBox imported from /path/to/bloodhound/trac/trac/wiki/default-pages/SandBox
- TitleIndex imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TitleIndex
- TracAccessibility imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAccessibility
- TracAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAdmin
- TracBackup imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBackup
- TracBatchModify imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBatchModify
- TracBrowser imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBrowser
- TracCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracCgi
- TracChangeset imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracChangeset
- TracEnvironment imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracEnvironment
- TracFastCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFastCgi
- TracFineGrainedPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFineGrainedPermissions
- TracImport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracImport
- TracIni imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracIni
- TracInstall imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInstall
- TracInterfaceCustomization imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInterfaceCustomization
- TracLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLinks
- TracLogging imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLogging
- TracModPython imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModPython
- TracModWSGI imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModWSGI
- TracNavigation imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNavigation
- TracNotification imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNotification
- TracPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPermissions
- TracPlugins imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPlugins
- TracQuery imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracQuery
- TracReports imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracReports
- TracRepositoryAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRepositoryAdmin
- TracRevisionLog imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRevisionLog
- TracRoadmap imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRoadmap
- TracRss imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRss
- TracStandalone imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracStandalone
- TracSupport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSupport
- TracSyntaxColoring imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSyntaxColoring
- TracTickets imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTickets
- TracTicketsCustomFields imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTicketsCustomFields
- TracTimeline imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTimeline
- TracUnicode imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUnicode
- TracUpgrade imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUpgrade
- TracWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWiki
- TracWorkflow imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWorkflow
- WikiDeletePage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiDeletePage
- WikiFormatting imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiFormatting
- WikiHtml imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiHtml
- WikiMacros imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiMacros
- WikiNewPage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiNewPage
- WikiPageNames imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiPageNames
- WikiProcessors imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiProcessors
- WikiRestructuredText imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredText
- WikiRestructuredTextLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredTextLinks
- Skipping default product wiki Bloodhound upgrades
- You can now start Bloodhound by running:
- tracd --port=8000 /path/to/bloodhound_rpc/trunk/rpctestenv/trac
- And point your browser at http://localhost:8000/trac
- Enabling RPC plugin and permissions...
- Created test environment: /path/to/bloodhound_rpc/trunk/rpctestenv
- Created test environment: /path/to/bloodhound_rpc/trunk/rpctestenv
- Setting RPC permissions in default product...
- Started web server: http://127.0.0.1:8664
- 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_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_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
- 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_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) ... ERROR
- test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
- 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) ... ERROR
- 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) ... ERROR
- test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ERROR
- test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
- test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
- test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
- [GLOBAL] tests that ownership may not be transferred to anonymous ... ok
- [GLOBAL] test saving new product ... ok
- [GLOBAL] test attempted saving of product with existing key fails ... ok
- [GLOBAL] test saving new product when owner is missing ... ok
- [GLOBAL] tests that we can update a single field data ... ok
- [GLOBAL] tests that get will not fail for missing products ... ok
- [GLOBAL] tests that we can use update to push data to the database ... ok
- [PRODUCT] tests that ownership may not be transferred to anonymous ... ok
- [PRODUCT] test saving new product ... ok
- [PRODUCT] test attempted saving of product with existing key fails ... ok
- [PRODUCT] test saving new product when owner is missing ... ok
- [PRODUCT] tests that we can update a single field data ... ok
- [PRODUCT] tests that get will not fail for missing products ... ok
- [PRODUCT] tests that we can use update to push data to the database ... ok
- ======================================================================
- ERROR: test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 222, in test_create_at_time
- xmlrpclib.DateTime(minus1))
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 225, in _request
- check_for_errors(response)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/_jsonrpclib.py", line 72, in check_for_errors
- raise xmlrpclib.Fault(code, message)
- Fault: <Fault -32602: u"unsupported operand type(s) for -: 'dict' and 'datetime.datetime'">
- ======================================================================
- ERROR: test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 144, in test_getRecentChanges
- changes = self.admin.ticket.getRecentChanges(created)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
- rpcid=rpcid, version=self.__version)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 485, in dumps
- params = jsonclass.dump(params)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 50, in dump
- ignore_attribute, ignore))
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 62, in dump
- module_name = inspect.getmodule(obj).__name__
- AttributeError: 'NoneType' object has no attribute '__name__'
- ======================================================================
- ERROR: test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 240, in test_update_at_time
- xmlrpclib.DateTime(minus2))
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 225, in _request
- check_for_errors(response)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/_jsonrpclib.py", line 72, in check_for_errors
- raise xmlrpclib.Fault(code, message)
- Fault: <Fault -32602: u"unsupported operand type(s) for -: 'dict' and 'datetime.datetime'">
- ======================================================================
- ERROR: test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 287, in test_update_time_changed
- then = from_xmlrpc_datetime(modified) - datetime.timedelta(minutes=1)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/xml_rpc.py", line 36, in from_xmlrpc_datetime
- t = list(time.strptime(data.value, "%Y%m%dT%H:%M:%S")[0:6])
- AttributeError: 'datetime.datetime' object has no attribute 'value'
- ======================================================================
- ERROR: test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 398, in test_create
- {'time': dt, 'description': desc})
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 225, in _request
- check_for_errors(response)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/_jsonrpclib.py", line 72, in check_for_errors
- raise xmlrpclib.Fault(code, message)
- Fault: <Fault -32602: u"unsupported operand type(s) for -: 'dict' and 'datetime.datetime'">
- ======================================================================
- ERROR: test_attachments (tracrpc.tests.wiki.RpcWikiTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 39, in test_attachments
- xmlrpclib.Binary(image_in.getvalue()))
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
- rpcid=rpcid, version=self.__version)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 496, in dumps
- return jdumps(request, encoding=encoding)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 98, in jdumps
- return json.dumps(obj, encoding=encoding)
- File "/usr/lib/python2.6/json/__init__.py", line 230, in dumps
- return _default_encoder.encode(obj)
- File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
- chunks = list(self.iterencode(o))
- File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
- for chunk in self._iterencode_dict(o, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
- for chunk in self._iterencode(value, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 306, in _iterencode
- for chunk in self._iterencode_list(o, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 204, in _iterencode_list
- for chunk in self._iterencode(value, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
- for chunk in self._iterencode_dict(o, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
- for chunk in self._iterencode(value, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 294, in _iterencode
- yield encoder(o)
- UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: unexpected code byte
- ======================================================================
- ERROR: test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 77, in test_getPageHTMLWithImage
- xmlrpclib.Binary(open(image_url, 'r').read()))
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
- rpcid=rpcid, version=self.__version)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 496, in dumps
- return jdumps(request, encoding=encoding)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 98, in jdumps
- return json.dumps(obj, encoding=encoding)
- File "/usr/lib/python2.6/json/__init__.py", line 230, in dumps
- return _default_encoder.encode(obj)
- File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
- chunks = list(self.iterencode(o))
- File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
- for chunk in self._iterencode_dict(o, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
- for chunk in self._iterencode(value, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 306, in _iterencode
- for chunk in self._iterencode_list(o, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 204, in _iterencode_list
- for chunk in self._iterencode(value, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
- for chunk in self._iterencode_dict(o, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
- for chunk in self._iterencode(value, markers):
- File "/usr/lib/python2.6/json/encoder.py", line 294, in _iterencode
- yield encoder(o)
- UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: unexpected code byte
- ======================================================================
- ERROR: test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 61, in test_getRecentChanges
- changes = self.admin.wiki.getRecentChanges(attrs2['lastModified'])
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
- return self.__send(self.__name, args)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
- rpcid=rpcid, version=self.__version)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 485, in dumps
- params = jsonclass.dump(params)
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 50, in dump
- ignore_attribute, ignore))
- File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 62, in dump
- module_name = inspect.getmodule(obj).__name__
- AttributeError: 'NoneType' object has no attribute '__name__'
- ======================================================================
- FAIL: test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/xml_rpc.py", line 62, in test_content_encoding
- e = self.assertRaises(xmlrpclib.Fault, local_test)
- AssertionError:
- Expected Fault
- Got UnicodeDecodeError : 'utf8' codec can't decode byte 0xb6 in position 0: unexpected code byte
- ======================================================================
- FAIL: test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 157, in test_query_group_order_col
- self.assertEquals([3,1,2], self.admin.ticket.query("order=type"))
- AssertionError: Lists differ: [3, 1, 2] != [1, 2, 5, 3, 4]
- First differing element 0:
- 3
- 1
- Second list contains 2 additional elements.
- First extra element 3:
- 3
- - [3, 1, 2]
- + [1, 2, 5, 3, 4]
- ----------------------------------------------------------------------
- Ran 64 tests in 250.714s
- FAILED (failures=2, errors=8)
- Stopping web server...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement