[Erp5-report] ERP5_z28 r17757: 1328 Tests, 0 Errors, 5 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Nov 23 07:25:00 CET 2007
Test Suite: ERP5_z28
Revision: 17757
Result: FAIL
All tests: 1328
Failures: 5
Errors: 0
The following tests failed:
testAccountingRules (1 failures)
Tests that replacing a line by cells updates simulation correctly
testInventoryAPI (2 failures)
test_TimeZone (testInventoryAPI.TestInventory)
test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
testPerformance (2 failures)
test_00_viewBarObject (testPerformance.TestPerformance)
test_01_viewBarModule (testPerformance.TestPerformance)
-------------- next part --------------
FAIL: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1688, in test_05d_SimpleInvoiceReExpandCreateCell
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateOtherSimpleSaleInvoice
PlanInvoice
Tic
AddCellsInInvoiceLine
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1290, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(debit, invoice_transaction_line.getSourceDebit())
AssertionError: 119.59999999999999 != 67200.850000000006
FAIL: test_TimeZone (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1806, in test_08_InventoryListBeforeFullInventoryAfterPartialInventory
self._checkInventoryList(inventory, reference_inventory)
File "/home/buildbot/buildbot_slave/full.bot_28/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/11/01'), '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/23'), '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/22'), '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/22'), 'node_uid': 1399L, 'inventory': 2}
FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 129, in test_00_viewBarObject
prefix='objective')
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 117, in checkViewBarObject
'%.4f < %.4f < %.4f' % (min, req_time, max))
AssertionError: 0.1120 < 0.1608 < 0.1220
FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 202, in test_01_viewBarModule
'View: %.4f < %.4f < %.4f' % (
AssertionError: View: 0.1250 < 0.2010 < 0.1750
More information about the Erp5-report
mailing list