[Erp5-report] ERP5 r17687: 1323 Tests, 0 Errors, 5 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 20 01:37:21 CET 2007


Test Suite: ERP5
Revision: 17687
Result: FAIL

All tests: 1323
Failures: 5
Errors: 0


The following tests failed:

  testResource                                       (1 failures)
   test_10_getPriceWithOptions (testResource.TestResource)

  testInventoryAPI                                   (2 failures)
   test_TimeZone (testInventoryAPI.TestInventory)
   test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)

  testERP5Catalog                                    (2 failures)
   Sort-on parameter and related key. (Assumes that region_title is a     valid related key)
   test_52_QueryAndTableAlias (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

FAIL: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testResource.py", line 638, in test_10_getPriceWithOptions
    self.assertEquals(1, product.getPrice(context=supply_line))
AssertionError: 1 != 10.0



FAIL: test_TimeZone (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 618, in test_TimeZone
    at_date=date_gmt1))
AssertionError: 0 != 1.0



FAIL: test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1806, in test_08_InventoryListBeforeFullInventoryAfterPartialInventory
    self._checkInventoryList(inventory, reference_inventory)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1685, in _checkInventoryList
    raise AssertionError, 'No line in %r match %r' % \
AssertionError: No line in [{'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1395L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 2.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/29'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/130', 'stock_uid': 1386L, 'mirror_node_uid': 1394L, 'payment_uid': None, 'section_uid': 1401L}, {'variation_text': '', 'total_price': None, 'total_quantity': 999.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 999.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/20'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/15/1', 'stock_uid': 1387L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1401L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1395L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 2.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/19'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/129', 'stock_uid': 1389L, 'mirror_node_uid': 1394L, 'payment_uid': None, 'section_uid': 1401L}] match {'date': DateTime('2007/10/19'), 'node_uid': 1399L, 'inventory': 2}



FAIL: Sort-on parameter and related key. (Assumes that region_title is a     valid related key)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 969, in test_29_SortOnRelatedKey
    sort_on=(('region_title', 'ascending'),))['order_by_expression'])
AssertionError: '' == ''



FAIL: test_52_QueryAndTableAlias (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1710, in test_52_QueryAndTableAlias
    [x.path for x in self.getCatalogTool()(query=complex_query)])
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 513, in failIfDifferentSet
    self.failUnless(i in a, msg)
AssertionError: ['/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/34/default_address'] != ['/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module', '/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/34/default_address', '/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/34', '/erp5_portal_87898169f8a6babfe15e14cbf4d59bab/portal_categories/group/nexedi']



More information about the Erp5-report mailing list