Advertisement
olemis

Bloodhound XML-RPC : test report 2013-09-10

Sep 11th, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 23.29 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 servertest_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  210. test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  211. test_rpc_info (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  212. test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
  213. test_form_submit (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  214. test_get_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  215. test_get_no_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  216. test_get_with_content_type (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  217. test_post_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  218. test_post_dont_accept (tracrpc.tests.web_ui.DocumentationTestCase) ... ok
  219. test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  220. test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  221. test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  222. test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  223. test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... FAIL
  224. test_xml_encoding_special_characters (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  225. test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
  226. test_json_not_available (tracrpc.tests.json_rpc.JsonModuleAvailabilityTestCase) ... ok
  227. test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  228. test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  229. test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  230. test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  231. test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  232. test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  233. test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  234. test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
  235. test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... ok
  236. test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  237. test_create_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  238. test_create_get_delete (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  239. test_create_ticket_9096 (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  240. test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  241. test_getAvailableActions_DeleteTicket (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  242. test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  243. test_query_group_order_col (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  244. test_query_special_character_escape (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  245. test_update_action (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  246. test_update_action_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  247. test_update_at_time (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  248. test_update_author (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  249. test_update_basic (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  250. test_update_field_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  251. test_update_non_existing (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  252. test_update_time_changed (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  253. test_update_time_same (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
  254. test_create (tracrpc.tests.ticket.RpcTicketVersionTestCase) ... ok
  255. test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  256. test_getPageHTMLWithImage (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  257. test_getPageHTMLWithManipulator (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  258. test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
  259. [GLOBAL] tests that ownership may not be transferred to anonymous ... FAIL
  260. [GLOBAL] test saving new product ... ok
  261. [GLOBAL] test attempted saving of product with existing key fails ... FAIL
  262. [GLOBAL] test saving new product when owner is missing ... FAIL
  263. [GLOBAL] tests that we can update a single field data ... ok
  264. [GLOBAL] tests that get will not fail for missing products ... ok
  265. [GLOBAL] tests that we can use update to push data to the database ... ok
  266. [PRODUCT] tests that ownership may not be transferred to anonymous ... FAIL
  267. [PRODUCT] test saving new product ... ok
  268. [PRODUCT] test attempted saving of product with existing key fails ... FAIL
  269. [PRODUCT] test saving new product when owner is missing ... FAIL
  270. [PRODUCT] tests that we can update a single field data ... ok
  271. [PRODUCT] tests that get will not fail for missing products ... ok
  272. [PRODUCT] tests that we can use update to push data to the database ... ok
  273.  
  274. ======================================================================
  275. FAIL: test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  276. ----------------------------------------------------------------------
  277. Traceback (most recent call last):
  278.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/xml_rpc.py", line 101, in test_resource_not_found
  279.    self.assertEquals(e.faultCode, 1)
  280. AssertionError: -32603 != 1
  281.  
  282. ======================================================================
  283. FAIL: test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase)
  284. ----------------------------------------------------------------------
  285. Traceback (most recent call last):
  286.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/xml_rpc.py", line 51, in test_wrong_argspec
  287.    self.assertEquals(-32602, e.faultCode)
  288. AssertionError: -32602 != -32603
  289.  
  290. ======================================================================
  291. FAIL: test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase)
  292. ----------------------------------------------------------------------
  293. Traceback (most recent call last):
  294.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 208, in test_resource_not_found
  295.    self.assertEquals(result['error']['code'], 404)
  296. AssertionError: -32500 != 404
  297.  
  298. ======================================================================
  299. FAIL: test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase)
  300. ----------------------------------------------------------------------
  301. Traceback (most recent call last):
  302.  File "/path/to/bloodhound_rpc/trunk/tracrpc/tests/json_rpc.py", line 183, in test_wrong_argspec
  303.    self.assertEquals(-32603, result['error']['code'])
  304. AssertionError: -32603 != -32500
  305.  
  306. ======================================================================
  307. FAIL: [GLOBAL] tests that ownership may not be transferred to anonymous
  308. ----------------------------------------------------------------------
  309. Traceback (most recent call last):
  310.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 196, in test_chown
  311.    self.assertEqual(-32500, test_cm.exception.faultCode)
  312. AssertionError: -32500 != -32603
  313.  
  314. ======================================================================
  315. FAIL: [GLOBAL] test attempted saving of product with existing key fails
  316. ----------------------------------------------------------------------
  317. Traceback (most recent call last):
  318.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 78, in test_create_duplicate_key
  319.    self.assertEqual(-32500, test_cm.exception.faultCode)
  320. AssertionError: -32500 != -32603
  321.  
  322. ======================================================================
  323. FAIL: [GLOBAL] test saving new product when owner is missing
  324. ----------------------------------------------------------------------
  325. Traceback (most recent call last):
  326.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 117, in test_create_no_owner
  327.    self.assertEqual(-32500, test_cm.exception.faultCode)
  328. AssertionError: -32500 != -32603
  329.  
  330. ======================================================================
  331. FAIL: [PRODUCT] tests that ownership may not be transferred to anonymous
  332. ----------------------------------------------------------------------
  333. Traceback (most recent call last):
  334.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 196, in test_chown
  335.    self.assertEqual(-32500, test_cm.exception.faultCode)
  336. AssertionError: -32500 != -32603
  337.  
  338. ======================================================================
  339. FAIL: [PRODUCT] test attempted saving of product with existing key fails
  340. ----------------------------------------------------------------------
  341. Traceback (most recent call last):
  342.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 78, in test_create_duplicate_key
  343.    self.assertEqual(-32500, test_cm.exception.faultCode)
  344. AssertionError: -32500 != -32603
  345.  
  346. ======================================================================
  347. FAIL: [PRODUCT] test saving new product when owner is missing
  348. ----------------------------------------------------------------------
  349. Traceback (most recent call last):
  350.  File "/path/to/bloodhound_rpc/trunk/bhrpc/tests/product.py", line 117, in test_create_no_owner
  351.    self.assertEqual(-32500, test_cm.exception.faultCode)
  352. AssertionError: -32500 != -32603
  353.  
  354. ----------------------------------------------------------------------
  355. Ran 64 tests in 256.926s
  356.  
  357. FAILED (failures=10)
  358. : http://127.0.0.1:8596
  359.  
  360. Stopping web server...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement