Advertisement
olemis

Bloodhound RPC : functional test report 2013-08-30

Aug 30th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 54.00 KB | None | 0 0
  1.  
  2. $ python setup.py test -m bhrpc.tests
  3.  
  4. running test
  5. running egg_info
  6. writing requirements to BloodhoundRPC.egg-info/requires.txt
  7. writing BloodhoundRPC.egg-info/PKG-INFO
  8. writing top-level names to BloodhoundRPC.egg-info/top_level.txt
  9. writing dependency_links to BloodhoundRPC.egg-info/dependency_links.txt
  10. writing entry points to BloodhoundRPC.egg-info/entry_points.txt
  11. writing requirements to BloodhoundRPC.egg-info/requires.txt
  12. writing BloodhoundRPC.egg-info/PKG-INFO
  13. writing top-level names to BloodhoundRPC.egg-info/top_level.txt
  14. writing dependency_links to BloodhoundRPC.egg-info/dependency_links.txt
  15. writing entry points to BloodhoundRPC.egg-info/entry_points.txt
  16. reading manifest file 'BloodhoundRPC.egg-info/SOURCES.txt'
  17. reading manifest template 'MANIFEST.in'
  18. writing manifest file 'BloodhoundRPC.egg-info/SOURCES.txt'
  19. running build_ext
  20.  
  21. ---------------------------------------------------------------------
  22. Warning: couldn't index the default repository.
  23.  
  24. This can happen for a variety of reasons: wrong repository type,
  25. no appropriate third party library for this repository type,
  26. no actual repository at the specified repository path...
  27.  
  28. You can nevertheless start using your Trac environment, but
  29. you'll need to check again your trac.ini file and the [trac]
  30. repository_type and repository_path settings.
  31.  
  32. Starting web server ...
  33.  
  34. Found Trac source: /path/to/bloodhound/trac
  35.  
  36. Found Trac source: /path/to/bloodhound/trac
  37. Found Bloodhound source: /path/to/bloodhound
  38. Creating and Initializing Project
  39.  
  40. ---------------------------------------------------------------------
  41. Project environment for 'trac' created.
  42.  
  43. You may now configure the environment by editing the file:
  44.  
  45.   /path/to/bloodhound_rpc/trunk/rpctestenv/trac/conf/trac.ini
  46.  
  47. If you'd like to take this new project environment for a test drive,
  48. try running the Trac standalone web server `tracd`:
  49.  
  50.  tracd --port 8000 /path/to/bloodhound_rpc/trunk/rpctestenv/trac
  51.  
  52. Then point your browser to http://localhost:8000/trac.
  53. There you can also browse the documentation for your installed
  54. version of Trac, including information on further setup (such as
  55. deploying Trac to a real web server).
  56.  
  57. The latest documentation can also always be found on the project
  58. website:
  59.  
  60.  http://trac.edgewall.org/
  61.  
  62. Congratulations!
  63.  
  64. Adding TRAC_ADMIN permissions to the admin user admin
  65. Running upgrades
  66. Your environment has been upgraded with the default [bhrelations_links] configuration.
  67. Upgrade done.
  68.  
  69. You may want to upgrade the Trac documentation now by running:
  70.  
  71.  trac-admin /path/to/bloodhound_rpc/trunk/rpctestenv/trac wiki upgrade
  72.  BloodhoundWidgets imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/BloodhoundWidgets
  73.  WikiStart imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
  74.  BloodhoundSearch imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearch
  75.  BloodhoundSearchAdmin imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearchAdmin
  76. Running wiki upgrades
  77.  TracGuide imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracGuide
  78.  TracSearch imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSearch
  79.  CamelCase imported from /path/to/bloodhound/trac/trac/wiki/default-pages/CamelCase
  80.  InterMapTxt imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterMapTxt
  81.  InterTrac imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterTrac
  82.  InterWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterWiki
  83.  PageTemplates imported from /path/to/bloodhound/trac/trac/wiki/default-pages/PageTemplates
  84.  RecentChanges imported from /path/to/bloodhound/trac/trac/wiki/default-pages/RecentChanges
  85.  SandBox imported from /path/to/bloodhound/trac/trac/wiki/default-pages/SandBox
  86.  TitleIndex imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TitleIndex
  87.  TracAccessibility imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAccessibility
  88.  TracAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAdmin
  89.  TracBackup imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBackup
  90.  TracBatchModify imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBatchModify
  91.  TracBrowser imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBrowser
  92.  TracCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracCgi
  93.  TracChangeset imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracChangeset
  94.  TracEnvironment imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracEnvironment
  95.  TracFastCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFastCgi
  96.  TracFineGrainedPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFineGrainedPermissions
  97.  TracImport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracImport
  98.  TracIni imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracIni
  99.  TracInstall imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInstall
  100.  TracInterfaceCustomization imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInterfaceCustomization
  101.  TracLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLinks
  102.  TracLogging imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLogging
  103.  TracModPython imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModPython
  104.  TracModWSGI imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModWSGI
  105.  TracNavigation imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNavigation
  106.  TracNotification imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNotification
  107.  TracPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPermissions
  108.  TracPlugins imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPlugins
  109.  TracQuery imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracQuery
  110.  TracReports imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracReports
  111.  TracRepositoryAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRepositoryAdmin
  112.  TracRevisionLog imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRevisionLog
  113.  TracRoadmap imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRoadmap
  114.  TracRss imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRss
  115.  TracStandalone imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracStandalone
  116.  TracSupport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSupport
  117.  TracSyntaxColoring imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSyntaxColoring
  118.  TracTickets imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTickets
  119.  TracTicketsCustomFields imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTicketsCustomFields
  120.  TracTimeline imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTimeline
  121.  TracUnicode imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUnicode
  122.  TracUpgrade imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUpgrade
  123.  TracWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWiki
  124.  TracWorkflow imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWorkflow
  125.  WikiDeletePage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiDeletePage
  126.  WikiFormatting imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiFormatting
  127.  WikiHtml imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiHtml
  128.  WikiMacros imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiMacros
  129.  WikiNewPage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiNewPage
  130.  WikiPageNames imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiPageNames
  131.  WikiProcessors imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiProcessors
  132.  WikiRestructuredText imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredText
  133.  WikiRestructuredTextLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredTextLinks
  134. Skipping wiki Bloodhound upgrades
  135. Loading default product wiki
  136.  BloodhoundWidgets imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/BloodhoundWidgets
  137.  WikiStart imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
  138.  BloodhoundSearch imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearch
  139.  BloodhoundSearchAdmin imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearchAdmin
  140. Running default product wiki upgrades
  141.  TracGuide imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracGuide
  142.  TracSearch imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSearch
  143.  CamelCase imported from /path/to/bloodhound/trac/trac/wiki/default-pages/CamelCase
  144.  InterMapTxt imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterMapTxt
  145.  InterTrac imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterTrac
  146.  InterWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterWiki
  147.  PageTemplates imported from /path/to/bloodhound/trac/trac/wiki/default-pages/PageTemplates
  148.  RecentChanges imported from /path/to/bloodhound/trac/trac/wiki/default-pages/RecentChanges
  149.  SandBox imported from /path/to/bloodhound/trac/trac/wiki/default-pages/SandBox
  150.  TitleIndex imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TitleIndex
  151.  TracAccessibility imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAccessibility
  152.  TracAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAdmin
  153.  TracBackup imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBackup
  154.  TracBatchModify imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBatchModify
  155.  TracBrowser imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBrowser
  156.  TracCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracCgi
  157.  TracChangeset imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracChangeset
  158.  TracEnvironment imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracEnvironment
  159.  TracFastCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFastCgi
  160.  TracFineGrainedPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFineGrainedPermissions
  161.  TracImport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracImport
  162.  TracIni imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracIni
  163.  TracInstall imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInstall
  164.  TracInterfaceCustomization imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInterfaceCustomization
  165.  TracLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLinks
  166.  TracLogging imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLogging
  167.  TracModPython imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModPython
  168.  TracModWSGI imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModWSGI
  169.  TracNavigation imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNavigation
  170.  TracNotification imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNotification
  171.  TracPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPermissions
  172.  TracPlugins imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPlugins
  173.  TracQuery imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracQuery
  174.  TracReports imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracReports
  175.  TracRepositoryAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRepositoryAdmin
  176.  TracRevisionLog imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRevisionLog
  177.  TracRoadmap imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRoadmap
  178.  TracRss imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRss
  179.  TracStandalone imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracStandalone
  180.  TracSupport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSupport
  181.  TracSyntaxColoring imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSyntaxColoring
  182.  TracTickets imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTickets
  183.  TracTicketsCustomFields imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTicketsCustomFields
  184.  TracTimeline imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTimeline
  185.  TracUnicode imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUnicode
  186.  TracUpgrade imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUpgrade
  187.  TracWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWiki
  188.  TracWorkflow imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWorkflow
  189.  WikiDeletePage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiDeletePage
  190.  WikiFormatting imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiFormatting
  191.  WikiHtml imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiHtml
  192.  WikiMacros imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiMacros
  193.  WikiNewPage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiNewPage
  194.  WikiPageNames imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiPageNames
  195.  WikiProcessors imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiProcessors
  196.  WikiRestructuredText imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredText
  197.  WikiRestructuredTextLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredTextLinks
  198. Skipping default product wiki Bloodhound upgrades
  199.  
  200. You can now start Bloodhound by running:
  201.  
  202.  tracd --port=8000 /path/to/bloodhound_rpc/trunk/rpctestenv/trac
  203.  
  204. And point your browser at http://localhost:8000/trac
  205.  
  206. Enabling RPC plugin and permissions...
  207. Created test environment: /path/to/bloodhound_rpc/trunk/rpctestenv
  208. Created test environment: /path/to/bloodhound_rpc/trunk/rpctestenv
  209. Setting RPC permissions in default product...
  210. Started web servertest_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  211. test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  212. test_rpc_info (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  213. test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  214. test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  215. test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  216. test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  217. test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  218. test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  219. test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  220. test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  221. test_json_not_available (tracrpc.tests.json_rpc.JsonModuleAvailabilityTestCase) ... ok
  222. test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ERROR
  223. test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  224. test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  225. test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ERROR
  226. test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  227. test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  228. test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  229. test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  230. test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  231. test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  232. test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  233. test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  234. test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  235. test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  236. test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  237. test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  238. test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  239. test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  240. test_update_action (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  241. test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  242. test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  243. test_update_author (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  244. test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  245. test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  246. test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  247. test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  248. test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  249. test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ok
  250. test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  251. test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... FAIL
  252. test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  253. test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  254. test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
  255. test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
  256. test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
  257. test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
  258. test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
  259. test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... FAIL
  260. [PRODUCT] tests that ownership may not be transferred to anonymous ... ERROR
  261. ERROR
  262. [PRODUCT] test saving new Product ... ERROR
  263. ERROR
  264. [PRODUCT] test attempted saving of Product with existing key fails ... ERROR
  265. ERROR
  266. [PRODUCT] test saving new Product when owner is missing ... ERROR
  267. ERROR
  268. [PRODUCT] tests that we can update a single field data ... ERROR
  269. ERROR
  270. [PRODUCT] tests that get will not fail for missing products ... ERROR
  271. ERROR
  272. [PRODUCT] tests that we can use update to push data to the database ... ERROR
  273. ERROR
  274. [GLOBAL] tests that ownership may not be transferred to anonymous ... ERROR
  275. ERROR
  276. [GLOBAL] test saving new Product ... FAIL
  277. ERROR
  278. [GLOBAL] test attempted saving of Product with existing key fails ... ERROR
  279. ERROR
  280. [GLOBAL] test saving new Product when owner is missing ... ERROR
  281. ERROR
  282. [GLOBAL] tests that we can update a single field data ... ERROR
  283. [GLOBAL] tests that get will not fail for missing products ... ERROR
  284. [GLOBAL] tests that we can use update to push data to the database ... ERROR
  285. ERROR
  286.  
  287. ======================================================================
  288. ERROR: test_binary (tracrpc.tests.json_rpc.JsonTestCase)
  289. ----------------------------------------------------------------------
  290. Traceback (most recent call last):
  291.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 145, in test_binary
  292.    result = self._auth_req(data, user='admin')
  293.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 82, in _auth_req
  294.    resp = urllib2.build_opener(handler).open(req)
  295.  File "/usr/lib/python2.6/urllib2.py", line 397, in open
  296.    response = meth(req, response)
  297.  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
  298.    'http', request, response, code, msg, hdrs)
  299.  File "/usr/lib/python2.6/urllib2.py", line 435, in error
  300.    return self._call_chain(*args)
  301.  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
  302.    result = func(*args)
  303.  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
  304.    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  305. HTTPError: HTTP Error 401: Unauthorized
  306.  
  307. ======================================================================
  308. ERROR: test_datetime (tracrpc.tests.json_rpc.JsonTestCase)
  309. ----------------------------------------------------------------------
  310. Traceback (most recent call last):
  311.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 128, in test_datetime
  312.    result = self._auth_req(data, user='admin')
  313.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 82, in _auth_req
  314.    resp = urllib2.build_opener(handler).open(req)
  315.  File "/usr/lib/python2.6/urllib2.py", line 397, in open
  316.    response = meth(req, response)
  317.  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
  318.    'http', request, response, code, msg, hdrs)
  319.  File "/usr/lib/python2.6/urllib2.py", line 435, in error
  320.    return self._call_chain(*args)
  321.  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
  322.    result = func(*args)
  323.  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
  324.    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  325. HTTPError: HTTP Error 401: Unauthorized
  326.  
  327. ======================================================================
  328. ERROR: test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase)
  329. ----------------------------------------------------------------------
  330. Traceback (most recent call last):
  331.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 369, in test_create_ticket_9096
  332.    response = urllib2.urlopen(request)
  333.  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
  334.    return _opener.open(url, data, timeout)
  335.  File "/usr/lib/python2.6/urllib2.py", line 397, in open
  336.    response = meth(req, response)
  337.  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
  338.    'http', request, response, code, msg, hdrs)
  339.  File "/usr/lib/python2.6/urllib2.py", line 435, in error
  340.    return self._call_chain(*args)
  341.  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
  342.    result = func(*args)
  343.  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
  344.    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  345. HTTPError: HTTP Error 401: Unauthorized
  346.  
  347. ======================================================================
  348. ERROR: [PRODUCT] tests that ownership may not be transferred to anonymous
  349. ----------------------------------------------------------------------
  350. Traceback (most recent call last):
  351.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 182, in test_chown
  352.    self.admin.product.create(self.prefix, 'no anonymous', 'transfer fail')
  353.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  354.    return self.__send(self.__name, args)
  355.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  356.    verbose=self.__verbose
  357.  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
  358.    headers
  359. ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
  360.  
  361. ======================================================================
  362. ERROR: [PRODUCT] tests that ownership may not be transferred to anonymous
  363. ----------------------------------------------------------------------
  364. Traceback (most recent call last):
  365.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  366.    self.DEFAULT_PRODUCT)
  367.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  368.    return self.db_context(*args, **kwargs)
  369.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  370.    return db.execute(query, params)
  371.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  372.    cursor.execute(query, params)
  373.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  374.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  375.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  376.    return self.cursor.execute(sql_escape_percent(sql), args)
  377.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  378.    result = PyFormatCursor.execute(self, *args)
  379.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  380.    sql = sql % (('?',) * len(args))
  381. TypeError: not all arguments converted during string formatting
  382.  
  383. ======================================================================
  384. ERROR: [PRODUCT] test saving new Product
  385. ----------------------------------------------------------------------
  386. Traceback (most recent call last):
  387.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 59, in test_create
  388.    self.admin.product.create(self.prefix, 'new', 'new')
  389.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  390.    return self.__send(self.__name, args)
  391.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  392.    verbose=self.__verbose
  393.  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
  394.    headers
  395. ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
  396.  
  397. ======================================================================
  398. ERROR: [PRODUCT] test saving new Product
  399. ----------------------------------------------------------------------
  400. Traceback (most recent call last):
  401.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  402.    self.DEFAULT_PRODUCT)
  403.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  404.    return self.db_context(*args, **kwargs)
  405.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  406.    return db.execute(query, params)
  407.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  408.    cursor.execute(query, params)
  409.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  410.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  411.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  412.    return self.cursor.execute(sql_escape_percent(sql), args)
  413.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  414.    result = PyFormatCursor.execute(self, *args)
  415.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  416.    sql = sql % (('?',) * len(args))
  417. TypeError: not all arguments converted during string formatting
  418.  
  419. ======================================================================
  420. ERROR: [PRODUCT] test attempted saving of Product with existing key fails
  421. ----------------------------------------------------------------------
  422. Traceback (most recent call last):
  423.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 71, in test_create_duplicate_key
  424.    self.admin.product.create(self.prefix, 'original', 'first product')
  425.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  426.    return self.__send(self.__name, args)
  427.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  428.    verbose=self.__verbose
  429.  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
  430.    headers
  431. ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
  432.  
  433. ======================================================================
  434. ERROR: [PRODUCT] test attempted saving of Product with existing key fails
  435. ----------------------------------------------------------------------
  436. Traceback (most recent call last):
  437.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  438.    self.DEFAULT_PRODUCT)
  439.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  440.    return self.db_context(*args, **kwargs)
  441.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  442.    return db.execute(query, params)
  443.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  444.    cursor.execute(query, params)
  445.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  446.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  447.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  448.    return self.cursor.execute(sql_escape_percent(sql), args)
  449.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  450.    result = PyFormatCursor.execute(self, *args)
  451.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  452.    sql = sql % (('?',) * len(args))
  453. TypeError: not all arguments converted during string formatting
  454.  
  455. ======================================================================
  456. ERROR: [PRODUCT] test saving new Product when owner is missing
  457. ----------------------------------------------------------------------
  458. Traceback (most recent call last):
  459.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 100, in test_create_no_owner
  460.    globalenv=is_global_scope)
  461.  File "/path/to/bloodhound/bloodhound_multiproduct/tests/functional/__init__.py", line 156, in _tracadmin
  462.    super(MultiproductFunctionalMixin, self)._tracadmin(*args, **kwargs)
  463. TypeError: _tracadmin() got an unexpected keyword argument 'globalenv'
  464.  
  465. ======================================================================
  466. ERROR: [PRODUCT] test saving new Product when owner is missing
  467. ----------------------------------------------------------------------
  468. Traceback (most recent call last):
  469.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  470.    self.DEFAULT_PRODUCT)
  471.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  472.    return self.db_context(*args, **kwargs)
  473.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  474.    return db.execute(query, params)
  475.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  476.    cursor.execute(query, params)
  477.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  478.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  479.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  480.    return self.cursor.execute(sql_escape_percent(sql), args)
  481.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  482.    result = PyFormatCursor.execute(self, *args)
  483.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  484.    sql = sql % (('?',) * len(args))
  485. TypeError: not all arguments converted during string formatting
  486.  
  487. ======================================================================
  488. ERROR: [PRODUCT] tests that we can update a single field data
  489. ----------------------------------------------------------------------
  490. Traceback (most recent call last):
  491.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 147, in test_field_set
  492.    'a test project')
  493.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  494.    return self.__send(self.__name, args)
  495.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  496.    verbose=self.__verbose
  497.  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
  498.    headers
  499. ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
  500.  
  501. ======================================================================
  502. ERROR: [PRODUCT] tests that we can update a single field data
  503. ----------------------------------------------------------------------
  504. Traceback (most recent call last):
  505.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  506.    self.DEFAULT_PRODUCT)
  507.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  508.    return self.db_context(*args, **kwargs)
  509.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  510.    return db.execute(query, params)
  511.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  512.    cursor.execute(query, params)
  513.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  514.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  515.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  516.    return self.cursor.execute(sql_escape_percent(sql), args)
  517.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  518.    result = PyFormatCursor.execute(self, *args)
  519.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  520.    sql = sql % (('?',) * len(args))
  521. TypeError: not all arguments converted during string formatting
  522.  
  523. ======================================================================
  524. ERROR: [PRODUCT] tests that get will not fail for missing products
  525. ----------------------------------------------------------------------
  526. Traceback (most recent call last):
  527.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 126, in test_get_missing
  528.    self.assertEqual(0, int(self.admin.product.get(u'äëïöü')))
  529.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  530.    return self.__send(self.__name, args)
  531.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  532.    verbose=self.__verbose
  533.  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
  534.    headers
  535. ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
  536.  
  537. ======================================================================
  538. ERROR: [PRODUCT] tests that get will not fail for missing products
  539. ----------------------------------------------------------------------
  540. Traceback (most recent call last):
  541.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  542.    self.DEFAULT_PRODUCT)
  543.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  544.    return self.db_context(*args, **kwargs)
  545.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  546.    return db.execute(query, params)
  547.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  548.    cursor.execute(query, params)
  549.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  550.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  551.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  552.    return self.cursor.execute(sql_escape_percent(sql), args)
  553.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  554.    result = PyFormatCursor.execute(self, *args)
  555.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  556.    sql = sql % (('?',) * len(args))
  557. TypeError: not all arguments converted during string formatting
  558.  
  559. ======================================================================
  560. ERROR: [PRODUCT] tests that we can use update to push data to the database
  561. ----------------------------------------------------------------------
  562. Traceback (most recent call last):
  563.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 132, in test_update
  564.    'a test project')
  565.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  566.    return self.__send(self.__name, args)
  567.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  568.    verbose=self.__verbose
  569.  File "/usr/lib/python2.6/xmlrpclib.py", line 1243, in request
  570.    headers
  571. ProtocolError: <ProtocolError for admin:[email protected]:8537/login/rpc: 401 Unauthorized>
  572.  
  573. ======================================================================
  574. ERROR: [PRODUCT] tests that we can use update to push data to the database
  575. ----------------------------------------------------------------------
  576. Traceback (most recent call last):
  577.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  578.    self.DEFAULT_PRODUCT)
  579.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  580.    return self.db_context(*args, **kwargs)
  581.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  582.    return db.execute(query, params)
  583.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  584.    cursor.execute(query, params)
  585.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  586.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  587.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  588.    return self.cursor.execute(sql_escape_percent(sql), args)
  589.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  590.    result = PyFormatCursor.execute(self, *args)
  591.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  592.    sql = sql % (('?',) * len(args))
  593. TypeError: not all arguments converted during string formatting
  594.  
  595. ======================================================================
  596. ERROR: [GLOBAL] tests that ownership may not be transferred to anonymous
  597. ----------------------------------------------------------------------
  598. Traceback (most recent call last):
  599.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 184, in test_chown
  600.    with self.assertRaises(xmlrpclib.Fault) as test_cm:
  601.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/__init__.py", line 28, in failUnlessRaises
  602.    *args, **kwargs)
  603. TypeError: unbound method assertRaises() must be called with TestCase instance as first argument (got RpcGlobalProductTestCase instance instead)
  604.  
  605. ======================================================================
  606. ERROR: [GLOBAL] tests that ownership may not be transferred to anonymous
  607. ----------------------------------------------------------------------
  608. Traceback (most recent call last):
  609.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  610.    self.DEFAULT_PRODUCT)
  611.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  612.    return self.db_context(*args, **kwargs)
  613.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  614.    return db.execute(query, params)
  615.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  616.    cursor.execute(query, params)
  617.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  618.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  619.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  620.    return self.cursor.execute(sql_escape_percent(sql), args)
  621.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  622.    result = PyFormatCursor.execute(self, *args)
  623.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  624.    sql = sql % (('?',) * len(args))
  625. TypeError: not all arguments converted during string formatting
  626.  
  627. ======================================================================
  628. ERROR: [GLOBAL] test saving new Product
  629. ----------------------------------------------------------------------
  630. Traceback (most recent call last):
  631.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  632.    self.DEFAULT_PRODUCT)
  633.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  634.    return self.db_context(*args, **kwargs)
  635.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  636.    return db.execute(query, params)
  637.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  638.    cursor.execute(query, params)
  639.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  640.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  641.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  642.    return self.cursor.execute(sql_escape_percent(sql), args)
  643.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  644.    result = PyFormatCursor.execute(self, *args)
  645.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  646.    sql = sql % (('?',) * len(args))
  647. TypeError: not all arguments converted during string formatting
  648.  
  649. ======================================================================
  650. ERROR: [GLOBAL] test attempted saving of Product with existing key fails
  651. ----------------------------------------------------------------------
  652. Traceback (most recent call last):
  653.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 73, in test_create_duplicate_key
  654.    with self.assertRaises(xmlrpclib.Fault) as test_cm:
  655.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/__init__.py", line 28, in failUnlessRaises
  656.    *args, **kwargs)
  657. TypeError: unbound method assertRaises() must be called with TestCase instance as first argument (got RpcGlobalProductTestCase instance instead)
  658.  
  659. ======================================================================
  660. ERROR: [GLOBAL] test attempted saving of Product with existing key fails
  661. ----------------------------------------------------------------------
  662. Traceback (most recent call last):
  663.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  664.    self.DEFAULT_PRODUCT)
  665.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  666.    return self.db_context(*args, **kwargs)
  667.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  668.    return db.execute(query, params)
  669.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  670.    cursor.execute(query, params)
  671.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  672.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  673.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  674.    return self.cursor.execute(sql_escape_percent(sql), args)
  675.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  676.    result = PyFormatCursor.execute(self, *args)
  677.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  678.    sql = sql % (('?',) * len(args))
  679. TypeError: not all arguments converted during string formatting
  680.  
  681. ======================================================================
  682. ERROR: [GLOBAL] test saving new Product when owner is missing
  683. ----------------------------------------------------------------------
  684. Traceback (most recent call last):
  685.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 100, in test_create_no_owner
  686.    globalenv=is_global_scope)
  687.  File "/path/to/bloodhound/bloodhound_multiproduct/tests/functional/__init__.py", line 156, in _tracadmin
  688.    super(MultiproductFunctionalMixin, self)._tracadmin(*args, **kwargs)
  689. TypeError: _tracadmin() got an unexpected keyword argument 'globalenv'
  690.  
  691. ======================================================================
  692. ERROR: [GLOBAL] test saving new Product when owner is missing
  693. ----------------------------------------------------------------------
  694. Traceback (most recent call last):
  695.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  696.    self.DEFAULT_PRODUCT)
  697.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  698.    return self.db_context(*args, **kwargs)
  699.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  700.    return db.execute(query, params)
  701.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  702.    cursor.execute(query, params)
  703.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  704.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  705.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  706.    return self.cursor.execute(sql_escape_percent(sql), args)
  707.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  708.    result = PyFormatCursor.execute(self, *args)
  709.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  710.    sql = sql % (('?',) * len(args))
  711. TypeError: not all arguments converted during string formatting
  712.  
  713. ======================================================================
  714. ERROR: [GLOBAL] tests that we can update a single field data
  715. ----------------------------------------------------------------------
  716. Traceback (most recent call last):
  717.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  718.    self.DEFAULT_PRODUCT)
  719.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  720.    return self.db_context(*args, **kwargs)
  721.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  722.    return db.execute(query, params)
  723.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  724.    cursor.execute(query, params)
  725.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  726.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  727.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  728.    return self.cursor.execute(sql_escape_percent(sql), args)
  729.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  730.    result = PyFormatCursor.execute(self, *args)
  731.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  732.    sql = sql % (('?',) * len(args))
  733. TypeError: not all arguments converted during string formatting
  734.  
  735. ======================================================================
  736. ERROR: [GLOBAL] tests that get will not fail for missing products
  737. ----------------------------------------------------------------------
  738. Traceback (most recent call last):
  739.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  740.    self.DEFAULT_PRODUCT)
  741.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  742.    return self.db_context(*args, **kwargs)
  743.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  744.    return db.execute(query, params)
  745.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  746.    cursor.execute(query, params)
  747.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  748.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  749.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  750.    return self.cursor.execute(sql_escape_percent(sql), args)
  751.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  752.    result = PyFormatCursor.execute(self, *args)
  753.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  754.    sql = sql % (('?',) * len(args))
  755. TypeError: not all arguments converted during string formatting
  756.  
  757. ======================================================================
  758. ERROR: [GLOBAL] tests that we can use update to push data to the database
  759. ----------------------------------------------------------------------
  760. Traceback (most recent call last):
  761.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 132, in test_update
  762.    'a test project')
  763.  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
  764.    return self.__send(self.__name, args)
  765.  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
  766.    verbose=self.__verbose
  767.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/__init__.py", line 166, in request
  768.    return(self.parse_response(f))
  769.  File "/usr/lib/python2.6/xmlrpclib.py", line 1361, in parse_response
  770.    return self._parse_response(file, None)
  771.  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
  772.    return u.close()
  773.  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
  774.    raise Fault(**self._stack[0])
  775. 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()'">
  776.  
  777. ======================================================================
  778. ERROR: [GLOBAL] tests that we can use update to push data to the database
  779. ----------------------------------------------------------------------
  780. Traceback (most recent call last):
  781.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 53, in tearDown
  782.    self.DEFAULT_PRODUCT)
  783.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 185, in __call__
  784.    return self.db_context(*args, **kwargs)
  785.  File "/path/to/bloodhound/trac/trac/db/api.py", line 122, in execute
  786.    return db.execute(query, params)
  787.  File "/path/to/bloodhound/trac/trac/db/util.py", line 121, in execute
  788.    cursor.execute(query, params)
  789.  File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 85, in execute
  790.    return super(BloodhoundIterableCursor, self).execute(translate_sql(self.env, sql), args=args)
  791.  File "/path/to/bloodhound/trac/trac/db/util.py", line 65, in execute
  792.    return self.cursor.execute(sql_escape_percent(sql), args)
  793.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 78, in execute
  794.    result = PyFormatCursor.execute(self, *args)
  795.  File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 54, in execute
  796.    sql = sql % (('?',) * len(args))
  797. TypeError: not all arguments converted during string formatting
  798.  
  799. ======================================================================
  800. FAIL: test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase)
  801. ----------------------------------------------------------------------
  802. Traceback (most recent call last):
  803.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 83, in test_getPageHTMLWithImage
  804.    'title="test image" />\n</p>\n</body></html>', markup_1)
  805. 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>'
  806.  
  807. ======================================================================
  808. FAIL: test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase)
  809. ----------------------------------------------------------------------
  810. Traceback (most recent call last):
  811.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 55, in test_form_submit
  812.    self.assert_form_protect(self.opener_user, req)
  813.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 109, in assert_form_protect
  814.    self.assertEquals(400, e.code)
  815. AssertionError: 400 != 401
  816.  
  817. ======================================================================
  818. FAIL: test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase)
  819. ----------------------------------------------------------------------
  820. Traceback (most recent call last):
  821.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 66, in test_get_dont_accept
  822.    self.assert_unsupported_media_type(self.opener_user, req)
  823.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 95, in assert_unsupported_media_type
  824.    self.assertEquals(415, e.code)
  825. AssertionError: 415 != 401
  826.  
  827. ======================================================================
  828. FAIL: test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase)
  829. ----------------------------------------------------------------------
  830. Traceback (most recent call last):
  831.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 34, in test_get_no_content_type
  832.    self.assert_rpcdocs_ok(self.opener_user, req)
  833.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 83, in assert_rpcdocs_ok
  834.    e.fp.read()))
  835. AssertionError: Request to 'http://127.0.0.1:8537/login/rpc' failed (401)
  836.  
  837. ======================================================================
  838. FAIL: test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase)
  839. ----------------------------------------------------------------------
  840. Traceback (most recent call last):
  841.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 30, in test_get_with_content_type
  842.    self.assert_rpcdocs_ok(self.opener_user, req)
  843.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 83, in assert_rpcdocs_ok
  844.    e.fp.read()))
  845. AssertionError: Request to 'http://127.0.0.1:8537/login/rpc' failed (401)
  846.  
  847. ======================================================================
  848. FAIL: test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase)
  849. ----------------------------------------------------------------------
  850. Traceback (most recent call last):
  851.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 41, in test_post_accept
  852.    self.assert_rpcdocs_ok(self.opener_user, req)
  853.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 83, in assert_rpcdocs_ok
  854.    e.fp.read()))
  855. AssertionError: Request to 'http://127.0.0.1:8537/login/rpc' failed (401)
  856.  
  857. ======================================================================
  858. FAIL: test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase)
  859. ----------------------------------------------------------------------
  860. Traceback (most recent call last):
  861.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 73, in test_post_dont_accept
  862.    self.assert_unsupported_media_type(self.opener_user, req)
  863.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/web_ui.py", line 95, in assert_unsupported_media_type
  864.    self.assertEquals(415, e.code)
  865. AssertionError: 415 != 401
  866.  
  867. ======================================================================
  868. FAIL: [GLOBAL] test saving new Product
  869. ----------------------------------------------------------------------
  870. Traceback (most recent call last):
  871.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 64, in test_create
  872.    sorted(check_products))
  873. AssertionError: [u'test', 'g_test_create'] != ['g_test_chown', 'g_test_create', 'test']
  874.  
  875. ----------------------------------------------------------------------
  876. Ran 64 tests in 184.285s
  877.  
  878. FAILED (failures=8, errors=28)
  879. : http://127.0.0.1:8537
  880.  
  881. Stopping web server...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement