[Erp5-report] ERP5 r17482: 1303 Tests, 0 Errors, 6 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 9 23:32:45 CET 2007


Test Suite: ERP5
Revision: 17482
Result: FAIL

All tests: 1303
Failures: 6
Errors: 0


The following tests failed:

  testImmobilisation                                 (1 failures)
   test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)

  testInventoryAPI                                   (5 failures)
   test_TimeZone (testInventoryAPI.TestInventory)
   test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
   test_11_InventoryListAroundLatestInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_12_InventoryListWithOrderByDate (testInventoryAPI.TestInventoryDocument)
-------------- next part --------------

FAIL: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3679, in test_19_TestAccountingBuildingAndDivergence
    sequence_list.play(self)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest19SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      TestSimpleAccountingBuild
      SetTest19SequenceData2
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      TestSimulationBuildAfterFirstAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterFirstChange
      DeletePackingList
      Tic
      TestSimulationBuildAfterSecondAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterSecondChange
      AdoptPrevision
      Tic
    > TestAccountingBuildAfterAdoptPrevision
      Test19ModifyPackingList
      Tic
      TestSimulationBuildAfterPackingListModification
      BuildAccounting
      Tic
      TestAccountingBuildAfterPackingListModification
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2640, in stepTestAccountingBuildAfterAdoptPrevision
    self._testAccountingBuild(c_transaction_list, e_transaction_list)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3027, in _testAccountingBuild
    self.failUnless(e_found_line is not None)
AssertionError



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_07_InventoryListAtEarlierFullInventoryDate (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 1786, in test_07_InventoryListAtEarlierFullInventoryDate
    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': 10000.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/372', 'node_uid': 1421L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1415L, 'resource_relative_url': 'currency_module/73', 'inventory': 10000.0, 'section_relative_url': 'organisation_module/370', 'simulation_state': 'delivered', 'date': DateTime('2007/10/19'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/14/1', 'stock_uid': 1406L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1423L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1417L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/372', 'node_uid': 1421L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1415L, 'resource_relative_url': 'currency_module/73', 'inventory': 2.0, 'section_relative_url': 'organisation_module/370', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/128', 'stock_uid': 1405L, 'mirror_node_uid': 1416L, 'payment_uid': None, 'section_uid': 1423L}] match {'date': DateTime('2007/10/19'), 'node_uid': 1421L, 'inventory': 10000}



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/18'), '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/09'), '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/08'), '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/08'), 'node_uid': 1399L, 'inventory': 2}



FAIL: test_11_InventoryListAroundLatestInventoryDate (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 1859, in test_11_InventoryListAroundLatestInventoryDate
    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': 1329L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/392', 'node_uid': 1333L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1327L, 'resource_relative_url': 'currency_module/77', 'inventory': 2.0, 'section_relative_url': 'organisation_module/390', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/140', 'stock_uid': 1317L, 'mirror_node_uid': 1328L, 'payment_uid': None, 'section_uid': 1335L}, {'variation_text': '', 'total_price': None, 'total_quantity': 89999.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/392', 'node_uid': 1333L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1327L, 'resource_relative_url': 'currency_module/77', 'inventory': 89999.0, 'section_relative_url': 'organisation_module/390', 'simulation_state': 'delivered', 'date': DateTime('2007/10/29'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/23/1', 'stock_uid': 1315L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1335L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1329L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/392', 'node_uid': 1333L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1327L, 'resource_relative_url': 'currency_module/77', 'inventory': 2.0, 'section_relative_url': 'organisation_module/390', 'simulation_state': 'delivered', 'date': DateTime('2007/10/30'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/141', 'stock_uid': 1314L, 'mirror_node_uid': 1328L, 'payment_uid': None, 'section_uid': 1335L}] match {'date': DateTime('2007/10/28'), 'node_uid': 1333L, 'inventory': 2, 'resource_uid': 1327L}



FAIL: test_12_InventoryListWithOrderByDate (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 1887, in test_12_InventoryListWithOrderByDate
    ordered_check=True)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1681, in _checkInventoryList
    raise AssertionError, 'Line %r do not match %r' % \
AssertionError: Line {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1307L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/397', 'node_uid': 1311L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1305L, 'resource_relative_url': 'currency_module/78', 'inventory': 2.0, 'section_relative_url': 'organisation_module/395', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/143', 'stock_uid': 1295L, 'mirror_node_uid': 1306L, 'payment_uid': None, 'section_uid': 1313L} do not match {'date': DateTime('2007/10/28'), 'node_uid': 1311L, 'inventory': 2, 'resource_uid': 1305L}



More information about the Erp5-report mailing list