Advertisement
olemis

Bloodhound JSON-RPC [4e228922bed6] : test report 2013-09-11

Sep 12th, 2013
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 29.82 KB | None | 0 0
  1. $ python setup.py test -m bhrpc.tests
  2.  
  3. running test
  4. running egg_info
  5. writing requirements to BloodhoundRPC.egg-info/requires.txt
  6. writing BloodhoundRPC.egg-info/PKG-INFO
  7. writing top-level names to BloodhoundRPC.egg-info/top_level.txt
  8. writing dependency_links to BloodhoundRPC.egg-info/dependency_links.txt
  9. writing entry points to BloodhoundRPC.egg-info/entry_points.txt
  10. writing requirements to BloodhoundRPC.egg-info/requires.txt
  11. writing BloodhoundRPC.egg-info/PKG-INFO
  12. writing top-level names to BloodhoundRPC.egg-info/top_level.txt
  13. writing dependency_links to BloodhoundRPC.egg-info/dependency_links.txt
  14. writing entry points to BloodhoundRPC.egg-info/entry_points.txt
  15. reading manifest file 'BloodhoundRPC.egg-info/SOURCES.txt'
  16. reading manifest template 'MANIFEST.in'
  17. writing manifest file 'BloodhoundRPC.egg-info/SOURCES.txt'
  18. running build_ext
  19.  
  20. ---------------------------------------------------------------------
  21. Warning: couldn't index the default repository.
  22.  
  23. This can happen for a variety of reasons: wrong repository type,
  24. no appropriate third party library for this repository type,
  25. no actual repository at the specified repository path...
  26.  
  27. You can nevertheless start using your Trac environment, but
  28. you'll need to check again your trac.ini file and the [trac]
  29. repository_type and repository_path settings.
  30.  
  31. Starting web server ...
  32.  
  33. Found Trac source: /path/to/bloodhound/trac
  34.  
  35. Found Trac source: /path/to/bloodhound/trac
  36. Found Bloodhound source: /path/to/bloodhound
  37. Creating and Initializing Project
  38.  
  39. ---------------------------------------------------------------------
  40. Project environment for 'trac' created.
  41.  
  42. You may now configure the environment by editing the file:
  43.  
  44.   /path/to/bloodhound_rpc/trunk/rpctestenv/trac/conf/trac.ini
  45.  
  46. If you'd like to take this new project environment for a test drive,
  47. try running the Trac standalone web server `tracd`:
  48.  
  49.  tracd --port 8000 /path/to/bloodhound_rpc/trunk/rpctestenv/trac
  50.  
  51. Then point your browser to http://localhost:8000/trac.
  52. There you can also browse the documentation for your installed
  53. version of Trac, including information on further setup (such as
  54. deploying Trac to a real web server).
  55.  
  56. The latest documentation can also always be found on the project
  57. website:
  58.  
  59.  http://trac.edgewall.org/
  60.  
  61. Congratulations!
  62.  
  63. Adding TRAC_ADMIN permissions to the admin user admin
  64. Running upgrades
  65. Your environment has been upgraded with the default [bhrelations_links] configuration.
  66. Upgrade done.
  67.  
  68. You may want to upgrade the Trac documentation now by running:
  69.  
  70.  trac-admin /path/to/bloodhound_rpc/trunk/rpctestenv/trac wiki upgrade
  71.  BloodhoundWidgets imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/BloodhoundWidgets
  72.  WikiStart imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
  73.  BloodhoundSearch imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearch
  74.  BloodhoundSearchAdmin imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearchAdmin
  75. Running wiki upgrades
  76.  TracGuide imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracGuide
  77.  TracSearch imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSearch
  78.  CamelCase imported from /path/to/bloodhound/trac/trac/wiki/default-pages/CamelCase
  79.  InterMapTxt imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterMapTxt
  80.  InterTrac imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterTrac
  81.  InterWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterWiki
  82.  PageTemplates imported from /path/to/bloodhound/trac/trac/wiki/default-pages/PageTemplates
  83.  RecentChanges imported from /path/to/bloodhound/trac/trac/wiki/default-pages/RecentChanges
  84.  SandBox imported from /path/to/bloodhound/trac/trac/wiki/default-pages/SandBox
  85.  TitleIndex imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TitleIndex
  86.  TracAccessibility imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAccessibility
  87.  TracAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAdmin
  88.  TracBackup imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBackup
  89.  TracBatchModify imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBatchModify
  90.  TracBrowser imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBrowser
  91.  TracCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracCgi
  92.  TracChangeset imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracChangeset
  93.  TracEnvironment imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracEnvironment
  94.  TracFastCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFastCgi
  95.  TracFineGrainedPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFineGrainedPermissions
  96.  TracImport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracImport
  97.  TracIni imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracIni
  98.  TracInstall imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInstall
  99.  TracInterfaceCustomization imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInterfaceCustomization
  100.  TracLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLinks
  101.  TracLogging imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLogging
  102.  TracModPython imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModPython
  103.  TracModWSGI imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModWSGI
  104.  TracNavigation imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNavigation
  105.  TracNotification imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNotification
  106.  TracPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPermissions
  107.  TracPlugins imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPlugins
  108.  TracQuery imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracQuery
  109.  TracReports imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracReports
  110.  TracRepositoryAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRepositoryAdmin
  111.  TracRevisionLog imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRevisionLog
  112.  TracRoadmap imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRoadmap
  113.  TracRss imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRss
  114.  TracStandalone imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracStandalone
  115.  TracSupport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSupport
  116.  TracSyntaxColoring imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSyntaxColoring
  117.  TracTickets imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTickets
  118.  TracTicketsCustomFields imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTicketsCustomFields
  119.  TracTimeline imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTimeline
  120.  TracUnicode imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUnicode
  121.  TracUpgrade imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUpgrade
  122.  TracWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWiki
  123.  TracWorkflow imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWorkflow
  124.  WikiDeletePage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiDeletePage
  125.  WikiFormatting imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiFormatting
  126.  WikiHtml imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiHtml
  127.  WikiMacros imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiMacros
  128.  WikiNewPage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiNewPage
  129.  WikiPageNames imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiPageNames
  130.  WikiProcessors imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiProcessors
  131.  WikiRestructuredText imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredText
  132.  WikiRestructuredTextLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredTextLinks
  133. Skipping wiki Bloodhound upgrades
  134. Loading default product wiki
  135.  BloodhoundWidgets imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/BloodhoundWidgets
  136.  WikiStart imported from /path/to/bloodhound/bloodhound_dashboard/bhdashboard/default-pages/WikiStart
  137.  BloodhoundSearch imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearch
  138.  BloodhoundSearchAdmin imported from /path/to/bloodhound/bloodhound_search/bhsearch/default-pages/BloodhoundSearchAdmin
  139. Running default product wiki upgrades
  140.  TracGuide imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracGuide
  141.  TracSearch imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSearch
  142.  CamelCase imported from /path/to/bloodhound/trac/trac/wiki/default-pages/CamelCase
  143.  InterMapTxt imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterMapTxt
  144.  InterTrac imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterTrac
  145.  InterWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/InterWiki
  146.  PageTemplates imported from /path/to/bloodhound/trac/trac/wiki/default-pages/PageTemplates
  147.  RecentChanges imported from /path/to/bloodhound/trac/trac/wiki/default-pages/RecentChanges
  148.  SandBox imported from /path/to/bloodhound/trac/trac/wiki/default-pages/SandBox
  149.  TitleIndex imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TitleIndex
  150.  TracAccessibility imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAccessibility
  151.  TracAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracAdmin
  152.  TracBackup imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBackup
  153.  TracBatchModify imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBatchModify
  154.  TracBrowser imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracBrowser
  155.  TracCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracCgi
  156.  TracChangeset imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracChangeset
  157.  TracEnvironment imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracEnvironment
  158.  TracFastCgi imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFastCgi
  159.  TracFineGrainedPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracFineGrainedPermissions
  160.  TracImport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracImport
  161.  TracIni imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracIni
  162.  TracInstall imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInstall
  163.  TracInterfaceCustomization imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracInterfaceCustomization
  164.  TracLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLinks
  165.  TracLogging imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracLogging
  166.  TracModPython imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModPython
  167.  TracModWSGI imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracModWSGI
  168.  TracNavigation imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNavigation
  169.  TracNotification imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracNotification
  170.  TracPermissions imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPermissions
  171.  TracPlugins imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracPlugins
  172.  TracQuery imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracQuery
  173.  TracReports imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracReports
  174.  TracRepositoryAdmin imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRepositoryAdmin
  175.  TracRevisionLog imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRevisionLog
  176.  TracRoadmap imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRoadmap
  177.  TracRss imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracRss
  178.  TracStandalone imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracStandalone
  179.  TracSupport imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSupport
  180.  TracSyntaxColoring imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracSyntaxColoring
  181.  TracTickets imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTickets
  182.  TracTicketsCustomFields imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTicketsCustomFields
  183.  TracTimeline imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracTimeline
  184.  TracUnicode imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUnicode
  185.  TracUpgrade imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracUpgrade
  186.  TracWiki imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWiki
  187.  TracWorkflow imported from /path/to/bloodhound/trac/trac/wiki/default-pages/TracWorkflow
  188.  WikiDeletePage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiDeletePage
  189.  WikiFormatting imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiFormatting
  190.  WikiHtml imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiHtml
  191.  WikiMacros imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiMacros
  192.  WikiNewPage imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiNewPage
  193.  WikiPageNames imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiPageNames
  194.  WikiProcessors imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiProcessors
  195.  WikiRestructuredText imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredText
  196.  WikiRestructuredTextLinks imported from /path/to/bloodhound/trac/trac/wiki/default-pages/WikiRestructuredTextLinks
  197. Skipping default product wiki Bloodhound upgrades
  198.  
  199. You can now start Bloodhound by running:
  200.  
  201.  tracd --port=8000 /path/to/bloodhound_rpc/trunk/rpctestenv/trac
  202.  
  203. And point your browser at http://localhost:8000/trac
  204.  
  205. Enabling RPC plugin and permissions...
  206. Created test environment: /path/to/bloodhound_rpc/trunk/rpctestenv
  207. Created test environment: /path/to/bloodhound_rpc/trunk/rpctestenv
  208. Setting RPC permissions in default product...
  209. Started web server: http://127.0.0.1:8664
  210.  
  211. test_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  212. test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  213. test_rpc_info (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  214. test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  215. test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  216. test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  217. test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  218. test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  219. test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  220. test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  221. test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  222. test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  223. test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  224. test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  225. test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  226. test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  227. test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  228. test_json_not_available (tracrpc.tests.json_rpc.JsonModuleAvailabilityTestCase) ... ok
  229. test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  230. test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  231. test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  232. test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  233. test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  234. test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  235. test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  236. test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  237. test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  238. test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  239. test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  240. test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  241. test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  242. test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  243. test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  244. test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  245. test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... FAIL
  246. test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  247. test_update_action (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  248. test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  249. test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  250. test_update_author (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  251. test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  252. test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  253. test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  254. test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase) ... ERROR
  255. test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  256. test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ERROR
  257. test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  258. test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  259. test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  260. test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ERROR
  261. [GLOBAL] tests that ownership may not be transferred to anonymous ... ok
  262. [GLOBAL] test saving new product ... ok
  263. [GLOBAL] test attempted saving of product with existing key fails ... ok
  264. [GLOBAL] test saving new product when owner is missing ... ok
  265. [GLOBAL] tests that we can update a single field data ... ok
  266. [GLOBAL] tests that get will not fail for missing products ... ok
  267. [GLOBAL] tests that we can use update to push data to the database ... ok
  268. [PRODUCT] tests that ownership may not be transferred to anonymous ... ok
  269. [PRODUCT] test saving new product ... ok
  270. [PRODUCT] test attempted saving of product with existing key fails ... ok
  271. [PRODUCT] test saving new product when owner is missing ... ok
  272. [PRODUCT] tests that we can update a single field data ... ok
  273. [PRODUCT] tests that get will not fail for missing products ... ok
  274. [PRODUCT] tests that we can use update to push data to the database ... ok
  275.  
  276. ======================================================================
  277. ERROR: test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase)
  278. ----------------------------------------------------------------------
  279. Traceback (most recent call last):
  280.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 222, in test_create_at_time
  281.    xmlrpclib.DateTime(minus1))
  282.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  283.    return self.__send(self.__name, args)
  284.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 225, in _request
  285.    check_for_errors(response)
  286.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/_jsonrpclib.py", line 72, in check_for_errors
  287.    raise xmlrpclib.Fault(code, message)
  288. Fault: <Fault -32602: u"unsupported operand type(s) for -: 'dict' and 'datetime.datetime'">
  289.  
  290. ======================================================================
  291. ERROR: test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase)
  292. ----------------------------------------------------------------------
  293. Traceback (most recent call last):
  294.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 144, in test_getRecentChanges
  295.    changes = self.admin.ticket.getRecentChanges(created)
  296.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  297.    return self.__send(self.__name, args)
  298.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
  299.    rpcid=rpcid, version=self.__version)
  300.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 485, in dumps
  301.    params = jsonclass.dump(params)
  302.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 50, in dump
  303.    ignore_attribute, ignore))
  304.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 62, in dump
  305.    module_name = inspect.getmodule(obj).__name__
  306. AttributeError: 'NoneType' object has no attribute '__name__'
  307.  
  308. ======================================================================
  309. ERROR: test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase)
  310. ----------------------------------------------------------------------
  311. Traceback (most recent call last):
  312.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 240, in test_update_at_time
  313.    xmlrpclib.DateTime(minus2))
  314.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  315.    return self.__send(self.__name, args)
  316.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 225, in _request
  317.    check_for_errors(response)
  318.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/_jsonrpclib.py", line 72, in check_for_errors
  319.    raise xmlrpclib.Fault(code, message)
  320. Fault: <Fault -32602: u"unsupported operand type(s) for -: 'dict' and 'datetime.datetime'">
  321.  
  322. ======================================================================
  323. ERROR: test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase)
  324. ----------------------------------------------------------------------
  325. Traceback (most recent call last):
  326.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 287, in test_update_time_changed
  327.    then = from_xmlrpc_datetime(modified) - datetime.timedelta(minutes=1)
  328.  File "/path/to/bloodhound_rpc/trunk/tracrpc/xml_rpc.py", line 36, in from_xmlrpc_datetime
  329.    t = list(time.strptime(data.value, "%Y%m%dT%H:%M:%S")[0:6])
  330. AttributeError: 'datetime.datetime' object has no attribute 'value'
  331.  
  332. ======================================================================
  333. ERROR: test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase)
  334. ----------------------------------------------------------------------
  335. Traceback (most recent call last):
  336.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 398, in test_create
  337.    {'time': dt, 'description': desc})
  338.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  339.    return self.__send(self.__name, args)
  340.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 225, in _request
  341.    check_for_errors(response)
  342.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/_jsonrpclib.py", line 72, in check_for_errors
  343.    raise xmlrpclib.Fault(code, message)
  344. Fault: <Fault -32602: u"unsupported operand type(s) for -: 'dict' and 'datetime.datetime'">
  345.  
  346. ======================================================================
  347. ERROR: test_attachments (tracrpc.tests.wiki.RpcWikiTestCase)
  348. ----------------------------------------------------------------------
  349. Traceback (most recent call last):
  350.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 39, in test_attachments
  351.    xmlrpclib.Binary(image_in.getvalue()))
  352.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  353.    return self.__send(self.__name, args)
  354.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
  355.    rpcid=rpcid, version=self.__version)
  356.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 496, in dumps
  357.    return jdumps(request, encoding=encoding)
  358.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 98, in jdumps
  359.    return json.dumps(obj, encoding=encoding)
  360.  File "/usr/lib/python2.6/json/__init__.py", line 230, in dumps
  361.    return _default_encoder.encode(obj)
  362.  File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
  363.    chunks = list(self.iterencode(o))
  364.  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
  365.    for chunk in self._iterencode_dict(o, markers):
  366.  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
  367.    for chunk in self._iterencode(value, markers):
  368.  File "/usr/lib/python2.6/json/encoder.py", line 306, in _iterencode
  369.    for chunk in self._iterencode_list(o, markers):
  370.  File "/usr/lib/python2.6/json/encoder.py", line 204, in _iterencode_list
  371.    for chunk in self._iterencode(value, markers):
  372.  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
  373.    for chunk in self._iterencode_dict(o, markers):
  374.  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
  375.    for chunk in self._iterencode(value, markers):
  376.  File "/usr/lib/python2.6/json/encoder.py", line 294, in _iterencode
  377.    yield encoder(o)
  378. UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: unexpected code byte
  379.  
  380. ======================================================================
  381. ERROR: test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase)
  382. ----------------------------------------------------------------------
  383. Traceback (most recent call last):
  384.   File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 77, in test_getPageHTMLWithImage
  385.     xmlrpclib.Binary(open(image_url, 'r').read()))
  386.   File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  387.     return self.__send(self.__name, args)
  388.   File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
  389.     rpcid=rpcid, version=self.__version)
  390.   File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 496, in dumps
  391.     return jdumps(request, encoding=encoding)
  392.   File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 98, in jdumps
  393.     return json.dumps(obj, encoding=encoding)
  394.   File "/usr/lib/python2.6/json/__init__.py", line 230, in dumps
  395.     return _default_encoder.encode(obj)
  396.   File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
  397.     chunks = list(self.iterencode(o))
  398.   File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
  399.     for chunk in self._iterencode_dict(o, markers):
  400.   File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
  401.     for chunk in self._iterencode(value, markers):
  402.   File "/usr/lib/python2.6/json/encoder.py", line 306, in _iterencode
  403.     for chunk in self._iterencode_list(o, markers):
  404.   File "/usr/lib/python2.6/json/encoder.py", line 204, in _iterencode_list
  405.     for chunk in self._iterencode(value, markers):
  406.   File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
  407.     for chunk in self._iterencode_dict(o, markers):
  408.   File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
  409.     for chunk in self._iterencode(value, markers):
  410.   File "/usr/lib/python2.6/json/encoder.py", line 294, in _iterencode
  411.     yield encoder(o)
  412. UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: unexpected code byte
  413.  
  414. ======================================================================
  415. ERROR: test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase)
  416. ----------------------------------------------------------------------
  417. Traceback (most recent call last):
  418.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/wiki.py", line 61, in test_getRecentChanges
  419.    changes = self.admin.wiki.getRecentChanges(attrs2['lastModified'])
  420.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 274, in __call__
  421.    return self.__send(self.__name, args)
  422.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 223, in _request
  423.    rpcid=rpcid, version=self.__version)
  424.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonrpc.py", line 485, in dumps
  425.    params = jsonclass.dump(params)
  426.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 50, in dump
  427.    ignore_attribute, ignore))
  428.  File "/path/to/venv/lib/python2.6/site-packages/jsonrpclib/jsonclass.py", line 62, in dump
  429.    module_name = inspect.getmodule(obj).__name__
  430. AttributeError: 'NoneType' object has no attribute '__name__'
  431.  
  432. ======================================================================
  433. FAIL: test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  434. ----------------------------------------------------------------------
  435. Traceback (most recent call last):
  436.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/xml_rpc.py", line 62, in test_content_encoding
  437.    e = self.assertRaises(xmlrpclib.Fault, local_test)
  438. AssertionError:
  439.  
  440. Expected Fault
  441.  
  442. Got UnicodeDecodeError : 'utf8' codec can't decode byte 0xb6 in position 0: unexpected code byte
  443.  
  444. ======================================================================
  445. FAIL: test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase)
  446. ----------------------------------------------------------------------
  447. Traceback (most recent call last):
  448.   File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/ticket.py", line 157, in test_query_group_order_col
  449.     self.assertEquals([3,1,2], self.admin.ticket.query("order=type"))
  450. AssertionError: Lists differ: [3, 1, 2] != [1, 2, 5, 3, 4]
  451.  
  452. First differing element 0:
  453. 3
  454. 1
  455.  
  456. Second list contains 2 additional elements.
  457. First extra element 3:
  458. 3
  459.  
  460. - [3, 1, 2]
  461. + [1, 2, 5, 3, 4]
  462.  
  463. ----------------------------------------------------------------------
  464. Ran 64 tests in 250.714s
  465.  
  466. FAILED (failures=2, errors=8)
  467.  
  468. Stopping web server...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement