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 servertest_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) ... ERROR
- test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
- test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ERROR
- 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) ... ERROR
- test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
- 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) ... FAIL
- test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
- test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
- test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
- test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
- test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
- test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
- test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
- [PRODUCT] tests that ownership may not be transferred to anonymous ... ERROR
- ERROR
- [PRODUCT] test saving new Product ... ERROR
- ERROR
- [PRODUCT] test attempted saving of Product with existing key fails ... ERROR
- ERROR
- [PRODUCT] test saving new Product when owner is missing ... ERROR
- ERROR
- [PRODUCT] tests that we can update a single field data ... ERROR
- ERROR
- [PRODUCT] tests that get will not fail for missing products ... ERROR
- ERROR
- [PRODUCT] tests that we can use update to push data to the database ... ERROR
- ERROR
- [GLOBAL] tests that ownership may not be transferred to anonymous ... ERROR
- ERROR
- [GLOBAL] test saving new Product ... FAIL
- ERROR
- [GLOBAL] test attempted saving of Product with existing key fails ... ERROR
- ERROR
- [GLOBAL] test saving new Product when owner is missing ... ERROR
- ERROR
- [GLOBAL] tests that we can update a single field data ... ERROR
- [GLOBAL] tests that get will not fail for missing products ... ERROR
- [GLOBAL] tests that we can use update to push data to the database ... ERROR
- ERROR
- ======================================================================
- ERROR: test_binary (tracrpc.tests.json_rpc.JsonTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 145, in test_binary
- result = self._auth_req(data, user='admin')
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 82, in _auth_req
- resp = urllib2.build_opener(handler).open(req)
- File "/usr/lib/python2.6/urllib2.py", line 397, in open
- response = meth(req, response)
- File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
- 'http', request, response, code, msg, hdrs)
- File "/usr/lib/python2.6/urllib2.py", line 435, in error
- return self._call_chain(*args)
- File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
- result = func(*args)
- File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
- raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
- HTTPError: HTTP Error 401: Unauthorized
- ======================================================================
- ERROR: test_datetime (tracrpc.tests.json_rpc.JsonTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 128, in test_datetime
- result = self._auth_req(data, user='admin')
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 82, in _auth_req
- resp = urllib2.build_opener(handler).open(req)
- File "/usr/lib/python2.6/urllib2.py", line 397, in open
- response = meth(req, response)
- File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
- 'http', request, response, code, msg, hdrs)
- File "/usr/lib/python2.6/urllib2.py", line 435, in error
- return self._call_chain(*args)
- File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
- result = func(*args)
- File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
- raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
- HTTPError: HTTP Error 401: Unauthorized
- ======================================================================
- ERROR: test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 369, in test_create_ticket_9096
- response = urllib2.urlopen(request)
- File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
- return _opener.open(url, data, timeout)
- File "/usr/lib/python2.6/urllib2.py", line 397, in open
- response = meth(req, response)
- File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
- 'http', request, response, code, msg, hdrs)
- File "/usr/lib/python2.6/urllib2.py", line 435, in error
- return self._call_chain(*args)
- File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
- result = func(*args)
- File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
- raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
- HTTPError: HTTP Error 401: Unauthorized
- ======================================================================
- ERROR: [PRODUCT] tests that ownership may not be transferred to anonymous
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 182, in test_chown
- self.admin.product.create(self.prefix, 'no anonymous', 'transfer fail')
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
- headers
- ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
- ======================================================================
- ERROR: [PRODUCT] tests that ownership may not be transferred to anonymous
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [PRODUCT] test saving new Product
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 59, in test_create
- self.admin.product.create(self.prefix, 'new', 'new')
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
- headers
- ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
- ======================================================================
- ERROR: [PRODUCT] test saving new Product
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [PRODUCT] test attempted saving of Product with existing key fails
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 71, in test_create_duplicate_key
- self.admin.product.create(self.prefix, 'original', 'first product')
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
- headers
- ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
- ======================================================================
- ERROR: [PRODUCT] test attempted saving of Product with existing key fails
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [PRODUCT] test saving new Product when owner is missing
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 100, in test_create_no_owner
- globalenv=is_global_scope)
- File "/path/to/bloodhound/bloodhound_multiproduct/tests/functional/__init__.py", line 156, in _tracadmin
- super(MultiproductFunctionalMixin, self)._tracadmin(*args, **kwargs)
- TypeError: _tracadmin() got an unexpected keyword argument 'globalenv'
- ======================================================================
- ERROR: [PRODUCT] test saving new Product when owner is missing
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [PRODUCT] tests that we can update a single field data
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 147, in test_field_set
- 'a test project')
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
- headers
- ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
- ======================================================================
- ERROR: [PRODUCT] tests that we can update a single field data
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [PRODUCT] tests that get will not fail for missing products
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 126, in test_get_missing
- self.assertEqual(0, int(self.admin.product.get(u'äëïöü')))
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
- headers
- ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
- ======================================================================
- ERROR: [PRODUCT] tests that get will not fail for missing products
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [PRODUCT] tests that we can use update to push data to the database
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 132, in test_update
- 'a test project')
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
- headers
- ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
- ======================================================================
- ERROR: [PRODUCT] tests that we can use update to push data to the database
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] tests that ownership may not be transferred to anonymous
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 184, in test_chown
- with self.assertRaises(xmlrpclib.Fault) as test_cm:
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/__init__.py", line 28, in failUnlessRaises
- *args, **kwargs)
- TypeError: unbound method assertRaises() must be called with TestCase instance as first argument (got RpcGlobalProductTestCase instance instead)
- ======================================================================
- ERROR: [GLOBAL] tests that ownership may not be transferred to anonymous
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] test saving new Product
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] test attempted saving of Product with existing key fails
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 73, in test_create_duplicate_key
- with self.assertRaises(xmlrpclib.Fault) as test_cm:
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/__init__.py", line 28, in failUnlessRaises
- *args, **kwargs)
- TypeError: unbound method assertRaises() must be called with TestCase instance as first argument (got RpcGlobalProductTestCase instance instead)
- ======================================================================
- ERROR: [GLOBAL] test attempted saving of Product with existing key fails
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] test saving new Product when owner is missing
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 100, in test_create_no_owner
- globalenv=is_global_scope)
- File "/path/to/bloodhound/bloodhound_multiproduct/tests/functional/__init__.py", line 156, in _tracadmin
- super(MultiproductFunctionalMixin, self)._tracadmin(*args, **kwargs)
- TypeError: _tracadmin() got an unexpected keyword argument 'globalenv'
- ======================================================================
- ERROR: [GLOBAL] test saving new Product when owner is missing
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] tests that we can update a single field data
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] tests that get will not fail for missing products
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- ERROR: [GLOBAL] tests that we can use update to push data to the database
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 132, in test_update
- 'a test project')
- File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
- return self.__send(self.__name, args)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
- verbose=self.__verbose
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/__init__.py", line 166, in request
- return(self.parse_response(f))
- File "/usr/lib/python2.6/xmlrpclib.py", line 1361, in parse_response
- return self._parse_response(file, None)
- File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
- return u.close()
- File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
- raise Fault(**self._stack[0])
- Fault: <Fault 1: "'Product name='test project' already exists {'name': 'test project', 'prefix': 'g_test_update', 'owner': 'admin', 'description': 'a test project'}' while executing 'product.create()'">
- ======================================================================
- ERROR: [GLOBAL] tests that we can use update to push data to the database
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
- self.DEFAULT_PRODUCT)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
- return self.db_context(*args, **kwargs)
- File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
- return db.execute(query, params)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
- cursor.execute(query, params)
- File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
- return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
- File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
- return self.cursor.execute(sql_escape_percent(sql), args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
- result = PyFormatCursor.execute(self, *args)
- File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
- sql = sql % (('?',) * len(args))
- TypeError: not all arguments converted during string formatting
- ======================================================================
- FAIL: test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 83, in test_getPageHTMLWithImage
- 'title="test image" />\n</p>\n</body></html>', markup_1)
- AssertionError: '<html><body><p>\n<img src="http://127.0.0.1:8765/products/%40/raw-attachment/wiki/ImageTest/feed.png" alt="test image" title="test image" />\n</p>\n</body></html>' != '<html><body><p>\n<img src="http://127.0.0.1:8537/raw-attachment/wiki/ImageTest/feed.png" alt="test image" title="test image" />\n</p>\n</body></html>'
- ======================================================================
- FAIL: test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 55, in test_form_submit
- self.assert_form_protect(self.opener_user, req)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 109, in assert_form_protect
- self.assertEquals(400, e.code)
- AssertionError: 400 != 401
- ======================================================================
- FAIL: test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 66, in test_get_dont_accept
- self.assert_unsupported_media_type(self.opener_user, req)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 95, in assert_unsupported_media_type
- self.assertEquals(415, e.code)
- AssertionError: 415 != 401
- ======================================================================
- FAIL: test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 34, in test_get_no_content_type
- self.assert_rpcdocs_ok(self.opener_user, req)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 83, in assert_rpcdocs_ok
- e.fp.read()))
- AssertionError: Request to 'http://127.0.0.1:8537/login/rpc' failed (401)
- ======================================================================
- FAIL: test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 30, in test_get_with_content_type
- self.assert_rpcdocs_ok(self.opener_user, req)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 83, in assert_rpcdocs_ok
- e.fp.read()))
- AssertionError: Request to 'http://127.0.0.1:8537/login/rpc' failed (401)
- ======================================================================
- FAIL: test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 41, in test_post_accept
- self.assert_rpcdocs_ok(self.opener_user, req)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 83, in assert_rpcdocs_ok
- e.fp.read()))
- AssertionError: Request to 'http://127.0.0.1:8537/login/rpc' failed (401)
- ======================================================================
- FAIL: test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 73, in test_post_dont_accept
- self.assert_unsupported_media_type(self.opener_user, req)
- File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 95, in assert_unsupported_media_type
- self.assertEquals(415, e.code)
- AssertionError: 415 != 401
- ======================================================================
- FAIL: [GLOBAL] test saving new Product
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 64, in test_create
- sorted(check_products))
- AssertionError: [u'test', 'g_test_create'] != ['g_test_chown', 'g_test_create', 'test']
- ----------------------------------------------------------------------
- Ran 64 tests in 184.285s
- FAILED (failures=8, errors=28)
- : http://127.0.0.1:8537
- Stopping web server...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement