[Erp5-report] ERP5 r38457 : 322 Tests, 1 Errors, 7 Failures, 2 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 6 12:20:43 CEST 2011
Test Suite: ERP5
Revision: 14be3c225c46a0d95bd5b0edfb93f75e21535e8f
Result: FAIL
All tests: 322
Failures: 7
Errors: 1
Skips: 2
The following tests failed:
testCacheTool (3 failures)
test_01_CacheFactoryOnePlugin (testCacheTool.TestCacheTool), Test cache factory containing only one cache plugin.
test_02_CacheFactoryMultiPlugins (testCacheTool.TestCacheTool), Test a cache factory containing multiple cache plugins.
test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
testERP5Type (1 failures, 1 skips)
test_translated_category_accessors (testERP5Type.TestERP5Type)
testMaxmaDemoConfigurationWorkflow (1 failures)
test_maxma_demo_workflow (testMaxmaDemoConfigurationWorkflow.TestMaxmaDemoConfiguratorWorkflow), Test the consulting workflow configuration
testMemcachedTool (1 failures, 1 errors)
test_03_insertValueAndCommit (testMemcachedTool.TestMemcachedTool)
test_07_checkExpirationTimeOfMemcachedDict (testMemcachedTool.TestMemcachedTool)
testUNG (1 failures)
testWebSection_getDocumentUrl (testUNG.TestUNG), Test if script used to generated custom url to listbox works
The following tests were at least partly skipped:
testERP5Type (1 skips)
testERP5TypeInterfaces (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 3463 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110506/bdafd13c/attachment-0001.diff>
-------------- next part --------------
FAIL: test_01_CacheFactoryOnePlugin (testCacheTool.TestCacheTool), Test cache factory containing only one cache plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 214, in test_01_CacheFactoryOnePlugin
self._cacheFactoryInstanceTest(my_cache, cf_name, clear_allowed)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 280, in _cacheFactoryInstanceTest
self.assert_(1.0 < calculation_time)
AssertionError
FAIL: test_02_CacheFactoryMultiPlugins (testCacheTool.TestCacheTool), Test a cache factory containing multiple cache plugins.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 224, in test_02_CacheFactoryMultiPlugins
self._cacheFactoryInstanceTest(my_cache, cf_name, clear_allowed=False)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 306, in _cacheFactoryInstanceTest
self.assert_(1.0 < calculation_time)
AssertionError
FAIL: test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 488, in test_06_CheckCacheExpiration
self.assertTrue(calculation_time > 1.0)
AssertionError
FAIL: test_translated_category_accessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testERP5Type.py", line 2447, in test_translated_category_accessors
self.assertEquals(['Alpha'], self.portal.Localizer.erp5_content._translated)
AssertionError: ['Alpha'] != []
FAIL: test_maxma_demo_workflow (testMaxmaDemoConfigurationWorkflow.TestMaxmaDemoConfiguratorWorkflow), Test the consulting workflow configuration
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 239, in test_maxma_demo_workflow
sequence_list.play(self)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/Sequence.py", line 128, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateBusinessConfiguration
Tic
SetMaxmaDemoWorkflow
Tic
ConfiguratorNext
Tic
CheckBT5ConfiguratorItem
CheckConfigureInstallationForm
SetupInstallConfiguration
ConfiguratorNext
Tic
CheckInstallConfiguration
StartConfigurationInstallation
Tic
CheckInstanceIsConfiguredFrance
CheckMaxmaDemoSampleObjectList
Tic
ViewAddGadget
ViewEventModule
AddEvent
SentEventWorkflow
ViewAccountModule
AddAccountModule
ViewAccount
CopyPasteAccount
ViewEntityModules
AddEntityModules
CopyAndPastePerson
CopyAndPasteOrganisation
EntityWorkflow
> ViewCreatedPersons
ViewCreatedOrganisations
ViewCreatedAssignemnts
AddAccoutingPeriod
ValidatedAccountingPeriods
ViewBankAccount
ViewCreditCard
ValidateAndModifyBankAccount
ValidateAndModifyCreditCard
AddPaymentNodeInPerson
AddPaymentNodeInOrganisation
CopyAndPasteBankAccountInPerson
CopyAndPasteBankAccountInOrganisation
ViewAccountingTransactionModule
AddAccountingTransactionModule
CopyAndPasteAccountingTransactions
Tic
AccountingTransaction
Tic
SaleInvoiceTransaction
Tic
PurchaseInvoiceTransaction
Tic
PaymentTransaction
Tic
BalanceTransaction
Tic
AccountingTransaction_getCausalityGroupedAccountingTransactionList
AddAssignments
AssignmentTI
EditAssignments
ViewAcessAddPurchaseTradeCondition
ViewAccessAddSaleTradeCondition
ViewAccessAddSaleOrder
ViewAccessAddSalePackingList
ViewAccessPurchaseOrder
PurchasePackingList
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
method(sequence=sequence)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 111, in stepViewCreatedPersons
self.failUnlessUserCanAccessDocument(username, entity)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/SecurityTestCase.py", line 83, in __call__
', '.join(groups)))
AssertionError: User demo does NOT have Access contents information permission on Person <Shared.DC.ZRDB.Results.r object at 0x27df91d0> (user roles: [Member, Authenticated], roles needed: [Assignee, Assignor, Associate, Auditor, Author, Manager, Owner], existing local roles:
(('my_group', ('Assignor', 'Assignee', 'Author', 'Auditor', 'Associate')),
('test_configurator_user', ('Owner',)))
your user groups: [SALE-AGNT, my_group])
ERROR: test_03_insertValueAndCommit (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testMemcachedTool.py", line 151, in test_03_insertValueAndCommit
self.assertTrue(tested_dict[tested_key] is not tested_value)
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/Tool/MemcachedTool.py", line 264, in __getitem__
return self._dictionary.__getitem__(self._prefixKey(key))
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/Tool/MemcachedTool.py", line 194, in __getitem__
raise KeyError
KeyError
FAIL: test_07_checkExpirationTimeOfMemcachedDict (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/testMemcachedTool.py", line 202, in test_07_checkExpirationTimeOfMemcachedDict
self.assertEquals(tested_dict.get(key), value)
AssertionError: None != 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
FAIL: testWebSection_getDocumentUrl (testUNG.TestUNG), Test if script used to generated custom url to listbox works
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/srv/slapgrid/slappart2/srv/slapos/software/8c7b7d09a5597a0d6b337388281301b3/parts/erp5/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py", line 275, in testWebSection_getDocumentUrl
self.assertNotEquals(re.search(pattern, url), None)
AssertionError: None == None
More information about the Erp5-report
mailing list