[Erp5-report] ERP5 r15913: 1096 Tests, 168 Errors, 21 Failures
seb at nexedi.com
seb at nexedi.com
Wed Aug 29 19:17:55 CEST 2007
Date : 2007-08-29
Revision: 15913
Ran Unit test of CMFActivity
Ran 80 tests in 72.645s
OK
Ran Unit test of CMFCategory
Ran 35 tests in 100.855s
OK
Ran Unit test of ERP5Catalog
Ran 56 tests in 91.169s
FAILED (failures=1)
Ran 13 tests in 0.058s
OK
Ran Unit test of ListBox
Ran 8 tests in 54.979s
OK
Ran 14 tests in 8.195s
OK
Ran Unit test of Portal Preference
Ran 9 tests in 42.067s
OK
Ran 2 tests in 0.038s
OK
Ran Unit test of SelectionTool
Ran 16 tests in 37.142s
OK
Ran Unit test of ERP5 DMS - Ingestion
Ran 12 tests in 562.940s
FAILED (errors=10)
Ran Unit test of TestOOoBatchMode
Ran 4 tests in 37.028s
OK
Ran Unit test of ERP5 Site - importing
Ran 1 test in 70.480s
OK
Ran Unit test of ERP5Security: User Management
Ran Unit test of ERP5Security: User Role Management (installation failed)
Ran 17 tests in 61.309s
FAILED (errors=5)
Ran Unit test of ERP5 SyncML
Ran 35 tests in 115.741s
OK
Ran Unit test of testERP5SyncMLVCard
Ran 6 tests in 55.164s
OK
Ran Unit test of ERP5 Accounting l10n M9
Ran 14 tests in 757.930s
OK
Ran Unit test of Accounting
Ran Unit test of <class 'testAccounting.TestClosingPeriod'> (installation failed)
Ran 30 tests in 373.917s
FAILED (errors=21)
Ran Unit test of Accounting Reports
Ran Unit test of Accounting Rules
Ran 14 tests in 315.759s
FAILED (errors=10)
Ran Unit test of Alarm
Ran 15 tests in 56.536s
OK
Ran Unit test of Amount
Ran Unit test of <class 'testAmount.TestMovement'> (installation failed)
Ran 21 tests in 126.300s
FAILED (errors=20)
Ran Unit test of Base
Ran 24 tests in 57.227s
FAILED (failures=2)
Ran Unit test of Bug
Ran 2 tests in 71.924s
OK
Ran Unit test of Business Template
Ran 44 tests in 156.803s
OK
Ran Unit test of Divergence Tester
Ran 4 tests in 138.028s
FAILED (failures=3, errors=1)
Ran Unit test of Domain Tool
Ran 5 tests in 135.924s
OK
Ran Unit test of ERP5 Budget
Ran 3 tests in 156.300s
FAILED (errors=2)
Ran Unit test of ERP5 Categories
Ran 9 tests in 67.531s
FAILED (failures=1)
Ran Unit test of ERP5Core
Ran 9 tests in 39.639s
OK
Ran Unit test of ERP5 HR
Ran 11 tests in 69.800s
OK
Ran Unit test of ERP5Web
Ran 5 tests in 96.788s
OK
Ran Unit test of Geographical Address
Ran 2 tests in 51.463s
OK
Ran Unit test of Immobilisation
Ran 22 tests in 199.995s
FAILED (errors=23)
Ran Unit test of Interaction Workflow
Ran 13 tests in 57.288s
FAILED (failures=2, errors=5)
Ran Unit test of Inventory API
Ran 62 tests in 287.257s
FAILED (failures=9)
Ran Unit test of Inventory Module
Ran 4 tests in 114.835s
FAILED (errors=4)
Ran Unit test of Inventory
Ran 3 tests in 156.807s
FAILED (errors=3)
Ran Unit test of Invoices
Ran 15 tests in 176.739s
FAILED (errors=15)
Ran Unit test of Invoices and VAT
Ran 4 tests in 205.548s
FAILED (errors=4)
Ran Unit test of Order
Ran 18 tests in 397.934s
FAILED (errors=3)
Ran Unit test of Packing List
Ran 13 tests in 141.154s
FAILED (errors=12)
Ran Unit test of Packing List Rounding Precision
Ran 13 tests in 140.669s
FAILED (errors=12)
Ran Unit test of Person Test
Ran 7 tests in 50.805s
OK
Ran Unit test of Predicates
Ran 10 tests in 56.876s
OK
Ran Unit test of Production Order
Ran 8 tests in 227.563s
FAILED (errors=1)
Ran Unit test of Purchase Order
Ran 18 tests in 397.669s
FAILED (errors=3)
Ran Unit test of Resource
Ran 12 tests in 142.485s
OK
Ran Unit test of Transformation
Ran 1 test in 202.657s
OK
Ran Unit test of Trash Tool
Ran 5 tests in 42.322s
OK
Ran Unit test of XHTML Test
Ran 251 tests in 665.858s
FAILED (errors=14)
Ran Unit test of CachedSkinsTool
Ran 4 tests in 78.478s
OK
Ran 3 tests in 72.654s
OK
Ran Unit test of Cache Tool
Ran 6 tests in 85.439s
OK
Ran Unit test of Class Tool
Ran 6 tests in 45.883s
OK
Ran Unit test of Constraint
Ran 16 tests in 99.057s
OK
Ran Unit test of ERP5Type
Ran 35 tests in 83.382s
FAILED (failures=1)
Ran Unit test of Folder
Ran 7 tests in 37.617s
OK
Ran Unit test of MemcachedTool
Ran 6 tests in 36.736s
OK
Ran Unit test of Performance
Ran 2 tests in 388.093s
FAILED (failures=2)
Ran Unit test of Session Tool
Ran 4 tests in 36.535s
OK
Ran Unit test of TimerService
Ran 1 test in 36.397s
OK
Ran Unit test of Transactional Variable
Ran 3 tests in 36.517s
OK
Ran Unit test of XMLMatrix
Ran 3 tests in 126.797s
OK
Ran Unit test of Deferred Connection
Ran 4 tests in 36.481s
OK
-------------- next part --------------
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.686s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... done (32.568s)
Adding erp5_base business template ... done (12.209s)
Logout ...
done (50.642s)
Ran Unit test of CMFActivity
Test Deferred Set Title SQLDict .
Test Deferred Set Title SQLQueue .
Test Deferred Set Title RAMDict .
Test Deferred Set Title RAMQueue .
Test Invoke And Cancel SQLDict .
Test Invoke And Cancel SQLQueue .
Test Invoke And Cancel RAMDict .
Test Invoke And Cancel RAMQueue .
Call Once With SQL Dict .
Call Once With SQL Queue .
Call Once With RAM Dict .
Call Once With RAM Queue .
Try Message With Error On SQL Dict .
Try Message With Error On SQL Queue .
Try Message With Error On RAM Dict .
Try Message With Error On RAM Queue .
Try Flush Activity With SQL Dict .
Try Flush Activity With SQL Queue .
Try Flush Activity With RAM Dict .
Try Flush Activity With RAM Queue .
Try Activate Inside Flush With SQL Dict .
Try Activate Inside Flush With SQL Queue .
Try Activate Inside Flush With RAM Dict .
Try Activate Inside Flush With RAM Queue .
Try Two Methods With SQL Dict .
Try Two Methods With SQL Queue .
Try Two Methods With RAM Dict .
Try Two Methods With RAM Queue .
Try Two Methods And Flush Them With SQL Dict .
Try Two Methods And Flush Them With SQL Queue .
Try Two Methods And Flush Them With RAM Dict .
Try Two Methods And Flush Them With RAM Queue .
Try Activate Flush Activate Tic With SQL Dict .
Try Activate Flush Activate Tic With SQL Queue .
Try Activate Flush Activate Tic With RAM Dict .
Try Activate Flush Activate Tic With RAM Queue .
Try Activate Flush Activate Tic With MultipleActivities .
Try Commit Sub Transaction With SQL Dict .
Try Commit Sub Transaction With SQL Queue .
Try Commit Sub Transaction With RAM Dict .
Try Commit Sub Transaction With RAM Queue .
Try Rename Object With SQL Dict .
Try Rename Object With SQL Queue .
Try Rename Object With RAM Dict .
Try Rename Object With RAM Queue .
Try Active Process With SQL Dict .
Try Active Process With SQL Queue .
Try Active Process With RAM Dict .
Try Active Process With RAM Queue .
Try Active Process Inside Activity With SQL Dict .
Try Active Process Inside Activity With SQL Queue .
Try Active Process Inside Activity With RAM Dict .
Try Active Process Inside Activity With RAM Queue .
Try Active Method After Another Activate Method With SQLDict.
Try Active Method After Another Activate Method With SQLQueue.
Try Call Activity With Right User.
Try Expanded Method With Deleted Sub Object.
Try Expanded Method With Deleted Object.
Try After Tag With SQL Dict.
Try After Tag With SQL Queue.
Check Scheduling With SQL Dict.
Check Scheduling With SQL Queue.
Check Clearing Activities With SQL Dict.
Check Clearing Activities With SQL Queue.
after_method_id and failed activities.
Check countMessageWithTag.
Test if it is possible to safely cancel an active object.
Test Conflict Errors While Processing With SQLDict.
Test Conflict Errors While Processing With SQLQueue.
Test Conflict Errors While Validating With SQLDict.
Test Conflict Errors While Validating With SQLQueue.
Test Errors While Finishing Commit DB With SQLDict.
Test Errors While Finishing Commit DB With SQLQueue.
Try Flus Activity With After Tag With SQL Dict.
Try Flush Activity With After Tag With SQL Queue.
Check reindex message uses activate_kw passed to newContent.
Check all message are flushed in SQLDict.
Test IsMessageRegistered behaviour with SQLDict.
Test Aborting Transaction Synchronously.
Test Activity with group_id parameter.
----------------------------------------------------------------------
Ran 80 tests in 72.645s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.588s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_375fd2e06bb46325945c05a27d83aefb ERP5 Site ... done (32.675s)
Adding erp5_base business template ... done (12.202s)
Adding erp5_trade business template ... done (34.570s)
Logout ...
done (87.964s)
Ran Unit test of CMFCategory
...................................
----------------------------------------------------------------------
Ran 35 tests in 100.855s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (2.150s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... done (32.400s)
Adding erp5_base business template ... done (12.147s)
Logout ...
done (50.403s)
Ran Unit test of ERP5Catalog
Test Has Everything .
Test Everything Catalogued.
Test Create And Delete Objects .
Search Folder With Deleted Objects .
Search Folder With Immediate Reindex Object .
Search Folder With Recursive Immediate Reindex Object .
Clear Catalog And Test New Content .
Clear Catalog And Test Recursive Immediate Reindex Object .
Clear Catalog And Test Immediate Reindex Object .
Ordered Search Folder .
Cast String As Int With Order By .
Transactional Uid Buffer .
ERP5Site_reindexAll .
Reindexing an object with 1 broken category must not affect other valid categories .
getObject .
newUid .
getCreationDate, getModificationDate ..
Search Folder With Non Ascii Character .
Search Folder With Dynamic Related Key .
Search Folder With Strict Dynamic Related Key .
Test searching with unicode .
Test That Delete Object Raise Error When the Query Fail .
Test Sort On .
Test Sort On Descending .
Test Sort On Unknow Keys .
Test Sort On Ambigous Keys .
Test Sort On Multiple Keys .
Test Sort On Related Keys .
Test Simple Query Dict .
Test Related Key Simple Query Dict .
Test Query Dict With Or Operator .
Test Query Dict With And Operator .
Test Query Dict With Max Range Operator .
Test Query Dict With Min Range Operator .
Test Query Dict With Ngt Range Operator .
Test Query Dict With Min Max Range Operator .
Test Query Dict With Min Ngt Range Operator .
Test Deferred Connection .
Test Delete Object .
Proxy Roles In Restricted Python .
Searchable Text .
Manage Paste Objects .
Parent related keys .
Query And Complex Query .
Test Limit .
Unrestricted queries .
Hot Reindex All .
Index In Ordered Search Folder .
local_roles= argument .
Test searching with SQL keywords .
Query And Table Alias .
Date Format .
Test if portal_catalog ensures that uid is long .
Float Format F.
======================================================================
FAIL: test_55_FloatFormat (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/zope/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1804, in test_55_FloatFormat
self.failUnless('TRUNCATE(catalog.uid,2) = 2567.54' in sql_src)
AssertionError
----------------------------------------------------------------------
Ran 56 tests in 91.169s
FAILED (failures=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.641s)
Installing ERP5Form ... done (3.212s)
.............
----------------------------------------------------------------------
Ran 13 tests in 0.058s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.698s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_27fd033bf95fdc3939b1d537bd566a59 ERP5 Site ... done (32.287s)
Adding erp5_ui_test business template ... done (9.662s)
Logout ...
done (50.767s)
Ran Unit test of ListBox
........
----------------------------------------------------------------------
Ran 8 tests in 54.979s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.631s)
..............
----------------------------------------------------------------------
Ran 14 tests in 8.195s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.645s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ... done (32.645s)
Logout ...
done (36.539s)
Ran Unit test of Portal Preference
.........
----------------------------------------------------------------------
Ran 9 tests in 42.067s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.699s)
Installing ERP5Form ... done (3.189s)
..
----------------------------------------------------------------------
Ran 2 tests in 0.038s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.616s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_16f4417412dd39f669aaf6688c2591b4 ERP5 Site ... done (32.548s)
Logout ...
done (36.469s)
Ran Unit test of SelectionTool
................
----------------------------------------------------------------------
Ran 16 tests in 37.142s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.634s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_853b1abc0f3865a2277837f1e129397f ERP5 Site ... done (32.429s)
Adding erp5_base business template ... done (12.201s)
Adding erp5_web business template ... done (11.999s)
Adding erp5_dms_mysql_innodb_catalog business template ... done (2.012s)
Adding erp5_dms business template ... done (21.284s)
Logout ...
done (87.426s)
Ran Unit test of ERP5 DMS - Ingestion
test_01_PreferenceSetup.
test_02_FileExtensionRegistry.
test_03_TextDoc
Starting New Sequence 1...
Playing step... CleanUp
Playing step... CreateTextDocument
Playing step... CheckEmptyState
Playing step... StraightUploadEEEEEEEEEE
======================================================================
ERROR: test_03_TextDoc (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 987, in test_03_TextDoc
self.playSequence(step_list, quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 915, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 561, in stepStraightUpload
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_041_MetadataEditing (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_04_MetadataExtraction (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_05_FormatIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_06_FormatGeneration (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_07_SnapshotGeneration (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_08_Cache (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
======================================================================
ERROR: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 119, in afterSetUp
self.createDefaultCategoryList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 248, in createDefaultCategoryList
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_853b1abc0f3865a2277837f1e129397f/document_module/one', 'convertToBaseFormat', -2, 6)]
----------------------------------------------------------------------
Ran 12 tests in 562.940s
FAILED (errors=10)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (2.704s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_22b0b2d23251e91b1dc3f8d6592dea4d ERP5 Site ... done (32.565s)
Logout ...
done (36.465s)
Ran Unit test of TestOOoBatchMode
....
----------------------------------------------------------------------
Ran 4 tests in 37.028s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (7.695s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_afa02331b0c583b85f5ed7d94a6ae859 ERP5 Site ... done (32.810s)
Adding erp5_base business template ... done (13.917s)
Logout ...
done (52.557s)
Ran Unit test of ERP5 Site - importing
test_12_ImportObjectOOoInActivities
Starting New Sequence 1...
Playing step... ImportRawDataFile
Playing step... CheckActivitiesCount
Playing step... Tic
Playing step... CheckImportedPersonList.
----------------------------------------------------------------------
Ran 1 test in 70.480s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.619s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e468efb2fd2fcf20106e66c1102e533d ERP5 Site ... done (32.960s)
Adding erp5_base business template ... done (12.214s)
Logout ...
done (53.291s)
Ran Unit test of ERP5Security: User Management
............
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5e45001269a288a3c43035bef0520519 ERP5 Site ... Traceback (most recent call last):
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 582, in setupERP5Site
create_activities=create_activities,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 93, in manage_addERP5Site
reindex=reindex)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1070, in create
reindex=reindex, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1478, in setup
self.setupERP5Core(p,**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1521, in setupERP5Core
template_tool.download(template, id=id)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 372, in download
bt.edit(**prop_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 154, in __call__
after_invoke_once[wf_id] = wf[wf_id].notifyBefore(instance, self._id,
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit_workflow'
Ran Unit test of ERP5Security: User Role Management (installation failed)
EEEEE
======================================================================
ERROR: Tests that document does not acquire loal roles from their parents if
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 582, in setupERP5Site
create_activities=create_activities,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 93, in manage_addERP5Site
reindex=reindex)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1070, in create
reindex=reindex, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1478, in setup
self.setupERP5Core(p,**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1521, in setupERP5Core
template_tool.download(template, id=id)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 372, in download
bt.edit(**prop_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 154, in __call__
after_invoke_once[wf_id] = wf[wf_id].notifyBefore(instance, self._id,
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit_workflow'
======================================================================
ERROR: Test simple case of setting a dynamic role.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up
======================================================================
ERROR: Test users have the Member role.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up
======================================================================
ERROR: Test simple case of setting a role.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up
======================================================================
ERROR: Tests group manager plugin respects interfaces.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_5e45001269a288a3c43035bef0520519 already failed, giving up
----------------------------------------------------------------------
Ran 17 tests in 61.309s
FAILED (errors=5)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.615s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... done (32.794s)
Adding erp5_base business template ... done (12.291s)
Logout ...
done (53.609s)
Ran Unit test of ERP5 SyncML
Test Has Everything .
Test Add a Publication .
Test Add First Subscription .
Test Add Second Subscription .
Test getSynchronizationList .
Test getObjectList .
Test Export and Import .
Test First Synchronization .
Test First Synchronization With Long Lines .
Test getObjectFromGid .
Test getSynchronizationState .
Test Update Simple Data .
Test Get Conflict List .
Test Get Publisher And Subscriber Document .
Test Apply Publisher Value .
Test Apply Subscriber Value .
Test Add Sub Object .
Test Update Sub Object .
Test Delete Object .
Test Delete Sub Object .
Test Get Conflict List On Sub Object .
Test Apply Publisher Document On Sub Object .
Test Apply Subscriber Document On Sub Object .
Test Synchronize With Strange Gid .
Test Multi Node Conflict .
Test Synchronize WorkflowHistory .
Test Update Local Role .
Test Partial Data .
Test Broken Message .
Test Get Synchronization Type .
Test Update Local Permission .
Test Add One Way Subscription .
Test One Way Sync .
Test Strings Encoding .
Test Authentication .
----------------------------------------------------------------------
Ran 35 tests in 115.741s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.638s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_1513ee42b2d9ce71df6db9baeb3d9c3a ERP5 Site ... done (32.393s)
Adding erp5_base business template ... done (12.123s)
Adding erp5_syncml business template ... done (1.114s)
Logout ...
done (51.528s)
Ran Unit test of testERP5SyncMLVCard
Test Add a VCard Publication .
Test Add First VCard Subscription .
Test Add Second VCard Subscription .
Test First VCard Synchronization .
Test Basic VCard Synchronization .
Test No Duplicate Data When Adding .
----------------------------------------------------------------------
Ran 6 tests in 55.164s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.643s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e95bc12f89154ad644e2510c93f4b035 ERP5 Site ... done (32.512s)
Adding erp5_base business template ... done (12.237s)
Adding erp5_trade business template ... done (36.385s)
Adding erp5_pdm business template ... done (13.539s)
Adding erp5_pdf_style business template ... done (2.018s)
Adding erp5_accounting business template ... done (67.987s)
Adding erp5_accounting_l10n_fr_m9 business template ... done (141.325s)
Logout ...
done (738.050s)
Ran Unit test of ERP5 Accounting l10n M9
..............
----------------------------------------------------------------------
Ran 14 tests in 757.930s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (5.444s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... done (35.198s)
Adding erp5_base business template ... done (12.319s)
Adding erp5_pdm business template ... done (9.328s)
Adding erp5_trade business template ... done (45.491s)
Adding erp5_accounting business template ... done (48.541s)
Logout ...
done (164.901s)
Ran Unit test of Accounting
.EEE....E..EEEEEEEEEE..
Adding ERP5TypeTestCase user ...
Adding erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 ERP5 Site ... Traceback (most recent call last):
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 582, in setupERP5Site
create_activities=create_activities,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 93, in manage_addERP5Site
reindex=reindex)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1070, in create
reindex=reindex, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1478, in setup
self.setupERP5Core(p,**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1521, in setupERP5Core
template_tool.download(template, id=id)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 372, in download
bt.edit(**prop_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 154, in __call__
after_invoke_once[wf_id] = wf[wf_id].notifyBefore(instance, self._id,
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'rule_interaction_workflow'
Ran Unit test of <class 'testAccounting.TestClosingPeriod'> (installation failed)
EEEEEEE
======================================================================
ERROR: Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1948, in test_AccountingPeriodNotStoppedTransactions
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1261, in stepCreateInvoices
created_by_builder = 0,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1966, in test_AccountingPeriodOtherSections
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1302, in stepCreateOtherSectionInvoices
created_by_builder = 0,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1929, in test_AccountingPeriodRefusesWrongDateTransactionValidation
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1261, in stepCreateInvoices
created_by_builder = 0,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2063, in test_AccountingTransactionValidationPayment
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1825, in stepValidateNoPayment
useBankAccount(transaction)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1821, in useBankAccount
destination_value = sequence.get('bank_account') )
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 176, in __call__
wf[wf_id].notifySuccess(instance, self._id, result, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 296, in notifySuccess
script(sci) # May throw an exception
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in DeliveryLine_UpdateSimulation
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2017, in test_AccountingTransactionValidationSection
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1656, in stepValidateNoSection
destination_value = expense_account )
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 176, in __call__
wf[wf_id].notifySuccess(instance, self._id, result, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 296, in notifySuccess
script(sci) # May throw an exception
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in DeliveryLine_UpdateSimulation
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1997, in test_Acquisition
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1439, in stepCheckAcquisition
resource_value = resource_value )
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 9, in AccountingTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Simple creating a related payment transaction when we have two line for
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2183, in test_Invoice_createRelatedPaymentTransactionDifferentSection
batch_mode=1)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 54, in Invoice_createRelatedPaymentTransaction
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Simple creating a related payment transaction when grouping reference of
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2164, in test_Invoice_createRelatedPaymentTransactionGroupedLines
batch_mode=1)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 54, in Invoice_createRelatedPaymentTransaction
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Simple creating a related payment transaction when we have related
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2206, in test_Invoice_createRelatedPaymentTransactionRelatedInvoice
batch_mode=1)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 54, in Invoice_createRelatedPaymentTransaction
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Simple creating a related payment transaction when we have related
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2218, in test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDifferentSide
destination_section=accounting_transaction.getSourceSection())
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Simple creating a related payment transaction when we have related
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2259, in test_Invoice_createRelatedPaymentTransactionRelatedInvoiceDraft
batch_mode=1)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 54, in Invoice_createRelatedPaymentTransaction
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Simple case of creating a related payment transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 2145, in test_Invoice_createRelatedPaymentTransactionSimple
batch_mode=1)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 54, in Invoice_createRelatedPaymentTransaction
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Tests using an account on one sides uses the mirror account
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1987, in test_MirrorAccounts
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1197, in stepCreateAccountingTransactionAndCheckMirrorAccount
transaction_line.edit(destination = forced_destination.getRelativeUrl())
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 176, in __call__
wf[wf_id].notifySuccess(instance, self._id, result, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 296, in notifySuccess
script(sci) # May throw an exception
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in DeliveryLine_UpdateSimulation
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1913, in test_MultiCurrencyInvoice
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 853, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1261, in stepCreateInvoices
created_by_builder = 0,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Tests that accounting_period_workflow creates a balance transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 582, in setupERP5Site
create_activities=create_activities,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 93, in manage_addERP5Site
reindex=reindex)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1070, in create
reindex=reindex, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1478, in setup
self.setupERP5Core(p,**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1521, in setupERP5Core
template_tool.download(template, id=id)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 372, in download
bt.edit(**prop_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 154, in __call__
after_invoke_once[wf_id] = wf[wf_id].notifyBefore(instance, self._id,
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'rule_interaction_workflow'
======================================================================
ERROR: When the profit and loss account has a non zero balance at the end of
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 already failed, giving up
======================================================================
ERROR: Tests having two accounting periods.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 already failed, giving up
======================================================================
ERROR: test_createBalanceOnMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 already failed, giving up
======================================================================
ERROR: test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 already failed, giving up
======================================================================
ERROR: test_createBalanceOnNode (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 already failed, giving up
======================================================================
ERROR: test_createBalanceOnPayment (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 158, in setUp
ERP5TypeTestCase.setUp(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_68943c7cb77eb37e0bfd7513d76a3be1 already failed, giving up
----------------------------------------------------------------------
Ran 30 tests in 373.917s
FAILED (errors=21)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.674s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_441d3ea4b1e33299d1ec114e87b36e78 ERP5 Site ... done (32.373s)
Adding erp5_base business template ... done (12.171s)
Adding erp5_pdm business template ... done (6.054s)
Adding erp5_trade business template ... done (34.167s)
Adding erp5_accounting business template ... done (36.227s)
Adding erp5_accounting_ui_test business template ... done (11.060s)
Logout ...
done (153.949s)
Ran Unit test of Accounting Reports
.EEESOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.640s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... done (32.511s)
Adding erp5_base business template ... done (12.222s)
Adding erp5_pdm business template ... done (6.086s)
Adding erp5_trade business template ... done (34.110s)
Adding erp5_accounting business template ... done (36.207s)
Logout ...
done (135.017s)
Ran Unit test of Accounting Rules
...EEEEEEEEEE.
======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1460, in test_04_SimpleInvoice
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 194, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1491, in test_04b_SimpleInvoiceConfirm
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1521, in test_04c_SimpleInvoiceTwoLines
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1551, in test_04d_SimpleInvoiceTwoCells
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1584, in test_05a_SimpleInvoiceReExpandAddLine
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1615, in test_05b_SimpleInvoiceReExpandEditLine
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1646, in test_05c_SimpleInvoiceReExpandDeleteLine
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1679, in test_05d_SimpleInvoiceReExpandCreateCell
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1734, in test_05e_SimpleInvoiceExpandManyTimes
""", quiet=quiet )
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1748, in test_06_MultiLineInvoice
self.playSequence("""
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 204, in stepCreateSaleInvoiceTransactionRule
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]
----------------------------------------------------------------------
Ran 14 tests in 315.759s
FAILED (errors=10)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.618s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... done (32.405s)
Logout ...
done (36.270s)
Ran Unit test of Alarm
Test Has Everything .
Test Initialization .
Test Every Hour .
Test Every 3 Hours .
Test Some Hours .
Every Day Once .
Every 3 Days Some Hours .
Some Week Days Some Hours .
Some Month Days Some Hours .
Once Every 2 Month .
Every Day Once Week 41 And 43 .
Test Every 5 Minutes .
Test Every Minute .
Test New Active Process .
Test Failed Alarms Do Not Block Future Alarms .
----------------------------------------------------------------------
Ran 15 tests in 56.536s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.627s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_0d7bd79f7d0b231461cc179eb8177e5b ERP5 Site ... done (32.380s)
Adding erp5_base business template ... done (12.200s)
Adding erp5_pdm business template ... done (6.066s)
Adding erp5_trade business template ... done (34.072s)
Adding erp5_apparel business template ... done (28.026s)
Logout ...
done (123.691s)
Ran Unit test of Amount
Starting New Sequence 1...
Playing step... CreateAmount
Playing step... CheckEmptyGetVariationPropertyDict
Playing step... CheckEmptySetVariationPropertyDict
Starting New Sequence 2...
Playing step... CreateResource
Playing step... CreateAmount
Playing step... SetAmountResource
Playing step... CheckGetVariationPropertyDict
Playing step... SetVariationPropertyDict
Playing step... CheckGetVariationPropertyDict
Starting New Sequence 3...
Playing step... CreateResource
Playing step... CreateAmount
Playing step... SetAmountResource
Playing step... SetWrongVariationPropertyDict
Starting New Sequence 4...
Playing step... CreateResource
Playing step... CreateAmount
Playing step... SetAmountResource
Playing step... CheckEdit
Playing step... CheckGetVariationPropertyDict.
Adding ERP5TypeTestCase user ...
Adding movement_test ERP5 Site ... Traceback (most recent call last):
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 582, in setupERP5Site
create_activities=create_activities,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 93, in manage_addERP5Site
reindex=reindex)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1070, in create
reindex=reindex, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1478, in setup
self.setupERP5Core(p,**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1521, in setupERP5Core
template_tool.download(template, id=id)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 372, in download
bt.edit(**prop_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 154, in __call__
after_invoke_once[wf_id] = wf[wf_id].notifyBefore(instance, self._id,
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit_workflow'
Ran Unit test of <class 'testAmount.TestMovement'> (installation failed)
EEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: testDestinationCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 582, in setupERP5Site
create_activities=create_activities,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 93, in manage_addERP5Site
reindex=reindex)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1070, in create
reindex=reindex, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1478, in setup
self.setupERP5Core(p,**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/ERP5Site.py", line 1521, in setupERP5Core
template_tool.download(template, id=id)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/Tool/TemplateTool.py", line 372, in download
bt.edit(**prop_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 154, in __call__
after_invoke_once[wf_id] = wf[wf_id].notifyBefore(instance, self._id,
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit_workflow'
======================================================================
ERROR: testDestinationDebit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDestinationDebitCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testPrice (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testQuantity (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testSourceCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testSourceDebit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testSourceDebitCredit (testAmount.TestMovement)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDefautDestinationTotalAssetCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDefautDestinationTotalAssetDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDefautSourceTotalAssetCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDefautSourceTotalAssetDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDestinationCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDestinationDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testDestinationDebitCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testPrice (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testQuantity (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testSourceCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testSourceDebit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
======================================================================
ERROR: testSourceDebitCredit (testAmount.TestAccountingTransactionLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 537, in setupERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of movement_test already failed, giving up
----------------------------------------------------------------------
Ran 21 tests in 126.300s
FAILED (errors=20)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.621s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... done (32.488s)
Adding erp5_base business template ... done (12.223s)
Logout ...
done (50.536s)
Ran Unit test of Base
FF......................
======================================================================
FAIL: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testBase.py", line 294, in test_01_areActivitiesWellLaunchedByPropertyEdit
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testBase.py", line 219, in stepCheckIfMessageQueueIsEmpty
self.assertEquals(len(message_list), 0)
AssertionError: 1 != 0
======================================================================
FAIL: test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testBase.py", line 406, in test_02_areActivitiesWellLaunchedByCategoryEdit
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testBase.py", line 219, in stepCheckIfMessageQueueIsEmpty
self.assertEquals(len(message_list), 0)
AssertionError: 1 != 0
----------------------------------------------------------------------
Ran 24 tests in 57.227s
FAILED (failures=2)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.644s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9f61e8df0913e71848fefe31ad251f6d ERP5 Site ... done (32.486s)
Adding erp5_base business template ... done (12.254s)
Adding erp5_forge business template ... done (16.626s)
Logout ...
done (69.835s)
Ran Unit test of Bug
..
----------------------------------------------------------------------
Ran 2 tests in 71.924s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.596s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... done (32.475s)
Adding erp5_csv_style business template ... done (1.532s)
Adding erp5_pdf_style business template ... done (0.769s)
Logout ...
done (38.708s)
Ran Unit test of Business Template
............................................
----------------------------------------------------------------------
Ran 44 tests in 156.803s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.644s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_cbb9ec7d4f41d7c22c2432d141d9ec6d ERP5 Site ... done (32.598s)
Adding erp5_base business template ... done (12.180s)
Adding erp5_pdm business template ... done (6.056s)
Adding erp5_trade business template ... done (34.036s)
Adding erp5_apparel business template ... done (14.841s)
Logout ...
done (110.643s)
Ran Unit test of Divergence Tester
Bootstrap the site by creating required order, simulation, ...
Starting New Sequence 1...
Playing step... RemoveDivergenceTesters
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfile
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... ConfirmOrder
Playing step... TicE
Starting New Sequence 1...
Playing step... GetPackingListF
Starting New Sequence 1...
Playing step... GetPackingListF
Starting New Sequence 1...
Playing step... GetPackingListF
======================================================================
ERROR: test_01_QuantityDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 118, in afterSetUp
self.bootstrapSite()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 106, in bootstrapSite
sequence_list.play(self, quiet=self.quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_cbb9ec7d4f41d7c22c2432d141d9ec6d/portal_deliveries/sale_packing_list_builder', 'build', -2, 6)]
======================================================================
FAIL: test_02_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 251, in test_02_CategoryDivergenceTester
sequence_list.play(self, quiet=self.quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 126, in stepGetPackingList
self.assertEquals(1, len(sql_result))
AssertionError: 1 != 0
======================================================================
FAIL: test_03_PropertyDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 310, in test_03_PropertyDivergenceTester
sequence_list.play(self, quiet=self.quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 126, in stepGetPackingList
self.assertEquals(1, len(sql_result))
AssertionError: 1 != 0
======================================================================
FAIL: test_04_CategoryDivergenceTester (testDivergenceTester.TestDivergenceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 361, in test_04_CategoryDivergenceTester
sequence_list.play(self, quiet=self.quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testDivergenceTester.py", line 126, in stepGetPackingList
self.assertEquals(1, len(sql_result))
AssertionError: 1 != 0
----------------------------------------------------------------------
Ran 4 tests in 138.028s
FAILED (failures=3, errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (6.751s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... done (32.700s)
Adding erp5_base business template ... done (12.210s)
Adding erp5_pdm business template ... done (6.073s)
Adding erp5_trade business template ... done (34.159s)
Adding erp5_apparel business template ... done (14.904s)
Logout ...
done (110.995s)
Ran Unit test of Domain Tool
Search Predicate List With No Test .
Search Predicate List With Test .
Generate Mapped Value .
Generate Mapped Value With Ranges .
Generate Mapped Value With Variation .
----------------------------------------------------------------------
Ran 5 tests in 135.924s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.638s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_a8a4d6ea3b58ec3f7cdb7fc71a26e973 ERP5 Site ... done (32.619s)
Adding erp5_base business template ... done (12.188s)
Adding erp5_pdm business template ... done (6.053s)
Adding erp5_trade business template ... done (33.922s)
Adding erp5_accounting business template ... done (35.943s)
Adding erp5_budget business template ... done (8.643s)
Logout ...
done (143.732s)
Ran Unit test of ERP5 Budget
Test Has Everything .EE
======================================================================
ERROR: test_02_HasBudgetCells (testERP5Budget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testERP5Budget.py", line 234, in afterSetUp
account.validate()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'validate' in this context
======================================================================
ERROR: test_03_Enough_budget (testERP5Budget.TestBudget)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testERP5Budget.py", line 234, in afterSetUp
account.validate()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'validate' in this context
----------------------------------------------------------------------
Ran 3 tests in 156.300s
FAILED (errors=2)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.613s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ... done (32.347s)
Adding erp5_base business template ... done (12.150s)
Logout ...
done (50.292s)
Ran Unit test of ERP5 Categories
.......F.
======================================================================
FAIL: test_08_RenameModuleWithObjectsInnerRelated (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 291, in test_08_RenameModuleWithObjectsInnerRelated
self.assertEquals(om['1'].getAbc(),om['2'].getRelativeUrl())
AssertionError: 'organisation_module/2' != 'new_id/2'
----------------------------------------------------------------------
Ran 9 tests in 67.531s
FAILED (failures=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.616s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_99235ecfa4a096fe03307aeab7a33fbd ERP5 Site ... done (32.396s)
Logout ...
done (36.251s)
Ran Unit test of ERP5Core
.........
----------------------------------------------------------------------
Ran 9 tests in 39.639s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.595s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... done (32.403s)
Adding erp5_base business template ... done (12.179s)
Logout ...
done (50.383s)
Ran Unit test of ERP5 HR
...........
----------------------------------------------------------------------
Ran 11 tests in 69.800s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.640s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_a016612210bcb7d3afb3dc7faa3f3cfb ERP5 Site ... done (32.512s)
Adding erp5_base business template ... done (12.207s)
Adding erp5_web business template ... done (13.134s)
Adding erp5_dms business template ... done (22.476s)
Adding erp5_dms_mysql_innodb_catalog business template ... done (2.263s)
Logout ...
done (90.295s)
Ran Unit test of ERP5Web
test_01_WebSiteRecatalog.
test_02_EditSimpleWebPage.
test_03_CreateWebSiteUser.
test_04_WebPageTranslation.
test_05_WebPageVersioning.
----------------------------------------------------------------------
Ran 5 tests in 96.788s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.597s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c57f74d4200b11a0b0beae4bd925384d ERP5 Site ... done (32.472s)
Adding erp5_base business template ... done (12.169s)
Logout ...
done (50.425s)
Ran Unit test of Geographical Address
Starting New Sequence 1...
Playing step... CreateEntity
Playing step... CreateAddress
Playing step... SetTextAddressValue
Playing step... CheckAddressText.
Starting New Sequence 1...
Playing step... CreateEntity
Playing step... CreateAddress
Playing step... SetTextAddressValue
Playing step... CreateAsTextScript
Playing step... CheckAddressAsTextScript.
----------------------------------------------------------------------
Ran 2 tests in 51.463s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.624s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... done (32.398s)
Adding erp5_base business template ... done (12.262s)
Adding erp5_trade business template ... done (34.064s)
Adding erp5_pdm business template ... done (6.481s)
Adding erp5_accounting business template ... done (36.091s)
Adding erp5_apparel business template ... done (14.887s)
Adding erp5_immobilisation business template ... done (19.193s)
Logout ...
done (171.016s)
Ran Unit test of Immobilisation
Test Single Packing List Immobilisation State Change
Starting New Sequence 1...
Playing step... SetTest01SequenceData
Playing step... CreatePackingListEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_singlePackingListImmobilisationStateChange (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/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3086, in test_01_singlePackingListImmobilisationStateChange
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 465, in stepCreatePackingList
destination = property_dict['destination'],
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 93, in __call__
self.tearDown()
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/base.py", line 90, in tearDown
self.beforeTearDown()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 284, in beforeTearDown
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_97ad677fdc3692c02e03838b9465053d/purchase_packing_list_module/1', 'recursiveImmediateReindexObject', -3, 6)]
======================================================================
ERROR: test_02_singleItemImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_03_complexItemStructureImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_04_TestContinuousMethodMovementValidity (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_19BIS_TestAccountingBuildAndOwngerChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 350, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 251, in afterSetUp
self.createItemList()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 441, in createItemList
item_module.newContent(id=item_id, reference='%i' % i)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ApparelFabricItem_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
----------------------------------------------------------------------
Ran 22 tests in 199.995s
FAILED (errors=23)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (5.364s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... done (33.194s)
Adding erp5_base business template ... done (12.181s)
Logout ...
done (51.206s)
Ran Unit test of Interaction Workflow
No Interactions .
Interactions On Edit .
Interactions, Edit Set Description and also After Script .
Interactions, Automatic Workflow Method .
Interactions, Automatic Workflow Method With Extra Base Category .
Interactions, Check If There Is Only One Call F
Interactions, Check If The Return Value Is Not Altered .
Interactions, Check If Multiple method_id Can Be Hooked F
Interactions, Check if the same method_id can be hooked by two Interactions E
Interactions, check if multiple scripts can be called E
Interactions, Test that the private accessor is called E
Interactions, Test that the private accessor is called, when using an Acquired Property E
Interactions, Check that edit does not detect the property modified in interaction script as modified by user E
======================================================================
ERROR: test_09 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 300, in test_09
organisation.edit()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 155, in __call__
args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 222, in notifyBefore
tdef = self.interactions[t_id]
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit'
======================================================================
ERROR: test_10 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 329, in test_10
organisation.edit()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 155, in __call__
args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 222, in notifyBefore
tdef = self.interactions[t_id]
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit'
======================================================================
ERROR: test_11 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 367, in test_11
organisation.edit(description='bar')
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 155, in __call__
args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 222, in notifyBefore
tdef = self.interactions[t_id]
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit'
======================================================================
ERROR: test_12 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 400, in test_12
organisation._baseSetDefaultEmailText('x')
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Accessor/AcquiredProperty.py", line 162, in __call__
portal_type=self._portal_type[0])
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 155, in __call__
args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 222, in notifyBefore
tdef = self.interactions[t_id]
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'edit'
======================================================================
ERROR: test_13 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 433, in test_13
organisation.edit(title='baz', vat_code='bar')
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 155, in __call__
args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/InteractionWorkflow.py", line 222, in notifyBefore
tdef = self.interactions[t_id]
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: 'editA'
======================================================================
FAIL: test_06 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 229, in test_06
self.assertEquals(organisation.getDescription(),'a')
AssertionError: 'aaaaaa' != 'a'
======================================================================
FAIL: test_08 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 272, in test_08
self.assertEquals(organisation.getDescription(),'a')
AssertionError: 'aa' != 'a'
----------------------------------------------------------------------
Ran 13 tests in 57.288s
FAILED (failures=2, errors=5)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.640s)
Adding ERP5TypeTestCase user ...
Adding inventory_api_test ERP5 Site ... done (32.589s)
Adding erp5_base business template ... done (12.201s)
Adding erp5_dummy_movement business template ... done (0.574s)
Adding erp5_trade business template ... done (34.008s)
Adding erp5_apparel business template ... done (15.006s)
Logout ...
done (103.674s)
Ran Unit test of Inventory API
...FFFF.....FFF..F..F.........................................
======================================================================
FAIL: Tests inventory on mirror section category.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 342, in test_MirrorSectionCategory
mirror_section_category='group/level1'), 100)
AssertionError: 55400.0 != 100
======================================================================
FAIL: Test section category with many nodes.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 468, in test_MultipleNodes
node_category=category.getRelativeUrl()), total_quantity)
AssertionError: 1800045.0 != 3315
======================================================================
FAIL: Tests inventory on section category / section uid, when the section is empty.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 494, in test_NoSection
section_category='group/level1/level2'), 100)
AssertionError: 50500.0 != 100
======================================================================
FAIL: Tests inventory on node_category
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 376, in test_NodeCategory
node_category='group/level1'), 100)
AssertionError: 49400.0 != 100
======================================================================
FAIL: Tests inventory on payment_category
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 415, in test_PaymentCategory
payment_category='product_line/level1'), 100)
AssertionError: 42100.0 != 100
======================================================================
FAIL: Tests inventory on resource_category
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 394, in test_ResourceCategory
resource_category='product_line/level1'), 100)
AssertionError: 41000.0 != 100
======================================================================
FAIL: Tests inventory on section category.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 310, in test_SectionCategory
section_category='group/level1'), 100)
AssertionError: 39900.0 != 100
======================================================================
FAIL: Tests inventory on simulation state.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 433, in test_SimulationState
self.assertEquals(getInventory(), 100)
AssertionError: 66200.0 != 100
======================================================================
FAIL: test_GroupByNode (testInventoryAPI.TestInventoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 635, in test_GroupByNode
self.node.getRelativeUrl()][0].inventory, 100)
AssertionError: 62500.0 != 100
----------------------------------------------------------------------
Ran 62 tests in 287.257s
FAILED (failures=9)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.881s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... done (32.486s)
Adding erp5_base business template ... done (12.169s)
Adding erp5_pdm business template ... done (6.050s)
Adding erp5_trade business template ... done (33.912s)
Adding erp5_apparel business template ... done (14.768s)
Logout ...
done (110.353s)
Ran Unit test of Inventory Module
Test Not Variated Inventory
Starting New Sequence 1...
Playing step... CreateNotVariatedResource
Playing step... CreateOrganisation1
Playing step... CreateInitialMovementsE
Test Variated Inventory
Starting New Sequence 1...
Playing step... CreateVariatedResourceE
Test Variated Aggregated Inventory
Starting New Sequence 1...
Playing step... CreateVariatedResourceE
Test getInventoryList and Variated Aggregated Inventory
Starting New Sequence 1...
Playing step... CreateVariatedResourceE
======================================================================
ERROR: test_01_NotVariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 213, in test_01_NotVariatedInventory
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 85, in stepCreateInitialMovements
deliverPackingList(ppl)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 67, in deliverPackingList
pl.deliver()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 394, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 22, in PackingList_updateAppliedRule
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'start_building' in this context
======================================================================
ERROR: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 350, in test_02_VariatedInventory
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
product_line = 'apparel'
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 512, in test_03_VariatedAggregatedInventory
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
product_line = 'apparel'
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventoryModule.py", line 540, in test_04_VariatedAggregatedInventoryGetInventoryList
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 162, in stepCreateVariatedResource
product_line = 'apparel'
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
----------------------------------------------------------------------
Ran 4 tests in 114.835s
FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.637s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... done (32.536s)
Adding erp5_base business template ... done (12.220s)
Adding erp5_pdm business template ... done (6.070s)
Adding erp5_trade business template ... done (33.998s)
Adding erp5_apparel business template ... done (14.887s)
Adding erp5_accounting business template ... done (36.223s)
Logout ...
done (151.661s)
Ran Unit test of Inventory
Starting New Sequence 1...
Playing step... CreateOrganisationList
Playing step... CreateOrder
Playing step... CreateVariatedResourceList
Playing step... CreatePackingListListE
Starting New Sequence 1...
Playing step... CreateOrganisationsForModuleE
Starting New Sequence 1...
Playing step... CreateOrganisationsForModuleE
======================================================================
ERROR: test_01_getInventory (testInventory.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/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1854, in test_01_getInventory
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 537, in stepCreatePackingListList
packing_list.edit(**property_dict)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_02_InventoryModule (testInventory.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/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1885, in test_02_InventoryModule
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 131, in stepCreateOrganisationsForModule
sequence_list=sequence_list, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_02_InventoryModuleWithVariation (testInventory.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/zope/unit_test/Products/ERP5/tests/testInventory.py", line 1910, in test_02_InventoryModuleWithVariation
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInventory.py", line 131, in stepCreateOrganisationsForModule
sequence_list=sequence_list, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
----------------------------------------------------------------------
Ran 3 tests in 156.807s
FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.596s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... done (32.547s)
Adding erp5_base business template ... done (12.229s)
Adding erp5_pdm business template ... done (6.074s)
Adding erp5_trade business template ... done (34.189s)
Adding erp5_apparel business template ... done (14.888s)
Adding erp5_accounting business template ... done (36.314s)
Logout ...
done (151.814s)
Ran Unit test of Invoices
EEEEEEEEEEEEEEE
======================================================================
ERROR: Test copy on paste on Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1666, in testCopyAndPaste
invoice = accounting_module.newContent(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_01_SimpleInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1027, in test_01_SimpleInvoice
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1061, in test_02_TwoInvoicesFromTwoPackingList
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_03_InvoiceEditAndInvoiceRule (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1093, in test_03_InvoiceEditAndInvoiceRule
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_04_PackingListEditAndInvoiceRule (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1113, in test_04_PackingListEditAndInvoiceRule
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_05_InvoiceEditPackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1138, in test_05_InvoiceEditPackingListLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_06_InvoiceDeletePackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1164, in test_06_InvoiceDeletePackingListLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_07_InvoiceAddPackingListLine (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1192, in test_07_InvoiceAddPackingListLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_08_InvoiceDecreaseQuantity (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1230, in test_08_InvoiceDecreaseQuantity
self.playSequence(sequence, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_09_InvoiceChangeStartDate (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1268, in test_09_InvoiceChangeStartDate
self.playSequence(sequence, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_10_AcceptDecisionOnPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1332, in test_10_AcceptDecisionOnPackingList
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1414, in test_11_AcceptDecisionOnPackingListAndInvoice
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1522, in test_12_SplitPackingListAndAcceptInvoice
self.playSequence(sequence, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_13_SplitAndDeferInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1591, in test_13_SplitAndDeferInvoice
self.playSequence(sequence, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 105, in playSequence
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_14_AcceptDecisionOnInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 1657, in test_14_AcceptDecisionOnInvoice
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 131, in stepCreateEntities
self.stepCreateOrganisation1(sequence, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
----------------------------------------------------------------------
Ran 15 tests in 176.739s
FAILED (errors=15)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.663s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_a5cda8653174ac2532ca143c067402a9 ERP5 Site ... done (32.451s)
Adding erp5_base business template ... done (12.229s)
Adding erp5_pdm business template ... done (6.071s)
Adding erp5_trade business template ... done (34.126s)
Adding erp5_accounting business template ... done (36.199s)
Logout ...
done (134.973s)
Ran Unit test of Invoices and VAT
E
Cancelling active message ('', 'erp5_portal_a5cda8653174ac2532ca143c067402a9', 'sale_packing_list_module', '1').recursiveImmediateReindexObject()
EEE
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 455, in test_InvoiceTwoLinesWithSameResource
( currency, resource, receivable_account, vat_account,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 284, in _makeOnePackingList
start_date=DateTime())
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 170, in _makeSalePackingList
spl.edit(**kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 485, in test_InvoiceTwoLinesWithSameResourceDifferentDate
( currency, resource, receivable_account, vat_account,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 260, in _makeOnePackingList
resource = self._makeResource()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 195, in _makeResource
resource = self.getPortal().product_module.newContent(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in Product_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 355, in DCWorkflowDefinition_executeTransition
value = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "state_change.kwargs.get('start_date',state_change['object'].getStartDate())"", line 1, in <expression>
AttributeError: getStartDate
======================================================================
ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 366, in test_SimpleInvoice
( currency, resource, receivable_account, vat_account,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 295, in _makeOneInvoice
resource = self._makeResource()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 195, in _makeResource
resource = self.getPortal().product_module.newContent(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in Product_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 355, in DCWorkflowDefinition_executeTransition
value = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "state_change.kwargs.get('start_date',state_change['object'].getStartDate())"", line 1, in <expression>
AttributeError: getStartDate
======================================================================
ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 391, in test_SimpleInvoiceEmptyLines
( currency, resource, receivable_account, vat_account,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 295, in _makeOneInvoice
resource = self._makeResource()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 195, in _makeResource
resource = self.getPortal().product_module.newContent(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in Product_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 355, in DCWorkflowDefinition_executeTransition
value = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "state_change.kwargs.get('start_date',state_change['object'].getStartDate())"", line 1, in <expression>
AttributeError: getStartDate
----------------------------------------------------------------------
Ran 4 tests in 205.548s
FAILED (errors=4)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.641s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... done (32.436s)
Adding erp5_base business template ... done (12.156s)
Adding erp5_pdm business template ... done (6.048s)
Adding erp5_trade business template ... done (34.007s)
Adding erp5_apparel business template ... done (14.913s)
Logout ...
done (110.449s)
Ran Unit test of Order
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCL
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCL
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCL.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCIL
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCIL
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCIL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCIL..
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVCIL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineHalfVCL
Playing step... Tic
Playing step... CheckOrderLineVCIL.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineFullVCL
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineEmptyMatrix
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineHalfVCL
Playing step... Tic
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineEmptyVCL
Playing step... Tic
Playing step... CheckOrderLineEmptyMatrix
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineFullVCL
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineEmptyMatrix
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineHalfVCL
Playing step... Tic
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineEmptyVCL
Playing step... Tic
Playing step... CheckOrderLineEmptyMatrix
Playing step... CheckOrderLineRange.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderLineTotalQuantity.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalPrice
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderLineTotalPrice.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderLineTotalPriceAndQuantityFastParameter.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CheckOrderTotalQuantity
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderTotalQuantity
Starting New Sequence 3...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalQuantity
Starting New Sequence 4...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalQuantity
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... Tic
Playing step... CheckOrderTotalQuantity.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderTotalPriceAndQuantityFastParameter.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CheckOrderTotalPrice
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderTotalPrice
Starting New Sequence 3...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalPrice
Starting New Sequence 4...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalQuantity
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... Tic
Playing step... CheckOrderTotalPrice.
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrder
Playing step... CheckOrderInitialState
Playing step... Tic
Playing step... CheckOrderLineState
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... CheckOrderCellState
Playing step... PlanOrder
Playing step... Tic
Playing step... CheckOrderPlanned
Playing step... CheckOrderLineState
Playing step... CheckOrderCellState.
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrder
Playing step... CheckOrderInitialState
Playing step... CheckOrderLineAcquisition
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderCellAcquisition
Playing step... Tic.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CheckPortalMethod
Starting New Sequence 2...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderSimulation
Playing step... PlanOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... CancelOrder
Playing step... Tic
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 3...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... PlanOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 4...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 5...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 6...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation.
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... OrderOrder
Playing step... Tic
Playing step... ModifyOrderStartDate
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 2...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... OrderOrder
Playing step... Tic
Playing step... ModifyOrderLineStartDate
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 3...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... OrderOrder
Playing step... Tic
Playing step... ModifyOrderCellStartDate
Playing step... Tic
Playing step... CheckOrderSimulation.
Starting New Sequence 1...
Playing step... CheckDeliveryBuilderPresence
Starting New Sequence 2...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrder
Playing step... SetOrderProfile
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckDeliveryBuilding
Playing step... ConfirmOrder
Playing step... TicE
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
======================================================================
ERROR: test_15_deliveryBuilder (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1686, in test_15_deliveryBuilder
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f56e40505f8cecd1db294fdab2822698/portal_deliveries/sale_packing_list_builder', 'build', -2, 6)]
======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1721, in test_16_deliveryBuilderWithNoTic
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_17_orderExpand (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1794, in test_17_orderExpand
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
----------------------------------------------------------------------
Ran 18 tests in 397.934s
FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.596s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... done (32.588s)
Adding erp5_base business template ... done (12.235s)
Adding erp5_pdm business template ... done (6.072s)
Adding erp5_trade business template ... done (34.188s)
Adding erp5_apparel business template ... done (14.938s)
Logout ...
done (110.934s)
Ran Unit test of Packing List
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfile
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... ConfirmOrder
Playing step... TicE
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E.
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 655, in test_01_PackingListDecreaseQuantity
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_e549dcf540388768207010303f288957/portal_deliveries/sale_packing_list_builder', 'build', -2, 6)]
======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 676, in test_02_PackingListChangeDestination
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 697, in test_03_PackingListChangeStartDate
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 716, in test_04_PackingListDeleteLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 738, in test_05_SimulationChangeQuantity
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 760, in test_06_SimulationChangeStartDate
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 784, in test_07_SimulationChangeStartDateWithTwoOrderLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_08_AddContainers (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 806, in test_08_AddContainers
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 828, in test_09_AddContainersWithVariatedResources
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 856, in test_10_PackingListIncreaseQuantity
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 888, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 907, in test_12_PackingListLineChangeResource
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
----------------------------------------------------------------------
Ran 13 tests in 141.154s
FAILED (errors=12)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.597s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_948a5ff004a36f690e9ac5bb402dd3f4 ERP5 Site ... done (32.574s)
Adding erp5_base business template ... done (12.213s)
Adding erp5_pdm business template ... done (6.079s)
Adding erp5_trade business template ... done (34.037s)
Adding erp5_apparel business template ... done (14.873s)
Logout ...
done (110.663s)
Ran Unit test of Packing List Rounding Precision
Starting New Sequence 1...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrganisation3
Playing step... CreateOrder
Playing step... SetOrderProfile
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... ConfirmOrder
Playing step... TicE
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E.
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 655, in test_01_PackingListDecreaseQuantity
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_948a5ff004a36f690e9ac5bb402dd3f4/portal_deliveries/sale_packing_list_builder', 'build', -2, 6)]
======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 676, in test_02_PackingListChangeDestination
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 697, in test_03_PackingListChangeStartDate
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 716, in test_04_PackingListDeleteLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 738, in test_05_SimulationChangeQuantity
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 760, in test_06_SimulationChangeStartDate
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 784, in test_07_SimulationChangeStartDateWithTwoOrderLine
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_08_AddContainers (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 806, in test_08_AddContainers
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 828, in test_09_AddContainersWithVariatedResources
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 856, in test_10_PackingListIncreaseQuantity
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 888, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
======================================================================
ERROR: test_12_PackingListLineChangeResource (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testPackingList.py", line 907, in test_12_PackingListLineChangeResource
sequence_list.play(self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/zope/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/zope/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
File "Python expression "not(here.isPacked())"", line 1, in <expression>
AttributeError: isPacked
----------------------------------------------------------------------
Ran 13 tests in 140.669s
FAILED (errors=12)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.632s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d4db1077c5d1ff47c55f7dc564b4a9ef ERP5 Site ... done (32.390s)
Adding erp5_base business template ... done (12.139s)
Logout ...
done (50.323s)
Ran Unit test of Person Test
.......
----------------------------------------------------------------------
Ran 7 tests in 50.805s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.636s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... done (32.438s)
Adding erp5_base business template ... done (12.178s)
Logout ...
done (50.390s)
Ran Unit test of Predicates
..........
----------------------------------------------------------------------
Ran 10 tests in 56.876s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.614s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... done (32.340s)
Adding erp5_base business template ... done (12.194s)
Adding erp5_pdm business template ... done (6.053s)
Adding erp5_trade business template ... done (33.977s)
Adding erp5_apparel business template ... done (14.849s)
Adding erp5_mrp business template ... done (14.423s)
Logout ...
done (125.687s)
Ran Unit test of Production Order
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateProductionSC
Playing step... CreateVariatedResource
Playing step... CreateComponent1
Playing step... CreateTransformation
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckProductionSimulation.
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateSupplyOrganisation1
Playing step... CreateSourcingSC
Playing step... CreateVariatedResource
Playing step... CreateComponent1
Playing step... CreateTransformation
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckSourcingSimulation.
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateProductionOrganisation2
Playing step... CreateSupplyOrganisation1
Playing step... CreateSupplyOrganisation2
Playing step... CreateTwoPhasesSC
Playing step... CreateVariatedResource
Playing step... CreateComponent1
Playing step... CreateComponent2
Playing step... CreateTransformation
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckTwoPhasesSimulation.
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateProductionSC
Playing step... CreateVariatedResource
Playing step... CreateComponent1
Playing step... CreateTransformation
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... ConfirmOrder
Playing step... Tic.
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateSupplyOrganisation1
Playing step... CreateSourcingSC
Playing step... CreateVariatedResource
Playing step... CreateComponent1
Playing step... CreateTransformation
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... ConfirmOrder
Playing step... Tic.
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateProductionOrganisation2
Playing step... CreateSupplyOrganisation1
Playing step... CreateSupplyOrganisation2
Playing step... CreateTwoPhasesSC
Playing step... CreateVariatedResource
Playing step... CreateComponent1
Playing step... CreateComponent2
Playing step... CreateTransformation
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... ConfirmOrder
Playing step... TicE
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateProductionSC
Playing step... CopyPasteSupplyChain
Playing step... Tic
Playing step... CheckPastedSupplyChain.
Starting New Sequence 1...
Playing step... ClearActivities
Playing step... CreateProductionOrganisation1
Playing step... CreateProductionSC
Playing step... CreateEmptySC
Playing step... Tic
Playing step... CutPasteSupplyNodeInAnotherContainer
Playing step... Tic
Playing step... CheckPastedSupplyNode.
======================================================================
ERROR: test_06_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 1029, in test_06_testIndustrialPhase
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_445eec84cfafcd54035971a79b90526e/portal_deliveries/production_report_builder', 'build', -1, 3), ('/erp5_portal_445eec84cfafcd54035971a79b90526e/portal_deliveries/production_packing_list_builder', 'build', -1, 3), ('/erp5_portal_445eec84cfafcd54035971a79b90526e/production_order_module/6', 'expand', -2, 6), ('/erp5_portal_445eec84cfafcd54035971a79b90526e/portal_simulation/6', 'expand', -2, 6)]
----------------------------------------------------------------------
Ran 8 tests in 227.563s
FAILED (errors=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.646s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_00858f2c2de98c339f32fc0be4cfdf31 ERP5 Site ... done (32.398s)
Adding erp5_base business template ... done (12.250s)
Adding erp5_pdm business template ... done (6.076s)
Adding erp5_trade business template ... done (34.077s)
Adding erp5_apparel business template ... done (14.937s)
Logout ...
done (110.629s)
Ran Unit test of Purchase Order
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCL
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCL
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCL.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCIL
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCIL
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVRCIL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... CheckOrderLineVRCIL..
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateOrderLine
Playing step... CheckOrderLineVCIL
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineHalfVCL
Playing step... Tic
Playing step... CheckOrderLineVCIL.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineFullVCL
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineEmptyMatrix
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineHalfVCL
Playing step... Tic
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineEmptyVCL
Playing step... Tic
Playing step... CheckOrderLineEmptyMatrix
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineFullVCL
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineEmptyMatrix
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineHalfVCL
Playing step... Tic
Playing step... CheckOrderLineRange
Playing step... CheckOrderLineCompleteMatrix
Playing step... SetOrderLineEmptyVCL
Playing step... Tic
Playing step... CheckOrderLineEmptyMatrix
Playing step... CheckOrderLineRange.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderLineTotalQuantity.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalPrice
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderLineTotalPrice.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderLineTotalPriceAndQuantityFastParameter.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CheckOrderTotalQuantity
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderTotalQuantity
Starting New Sequence 3...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalQuantity
Starting New Sequence 4...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalQuantity
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... Tic
Playing step... CheckOrderTotalQuantity.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderTotalPriceAndQuantityFastParameter.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CheckOrderTotalPrice
Starting New Sequence 2...
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderTotalPrice
Starting New Sequence 3...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalPrice
Starting New Sequence 4...
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderTotalQuantity
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... Tic
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... Tic
Playing step... CheckOrderTotalPrice.
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrder
Playing step... CheckOrderInitialState
Playing step... Tic
Playing step... CheckOrderLineState
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... CheckOrderCellState
Playing step... PlanOrder
Playing step... Tic
Playing step... CheckOrderPlanned
Playing step... CheckOrderLineState
Playing step... CheckOrderCellState.
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrder
Playing step... CheckOrderInitialState
Playing step... CheckOrderLineAcquisition
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CheckOrderCellAcquisition
Playing step... Tic.
Starting New Sequence 1...
Playing step... CreateOrder
Playing step... CheckPortalMethod
Starting New Sequence 2...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderSimulation
Playing step... PlanOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... CancelOrder
Playing step... Tic
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 3...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateNotVariatedResource
Playing step... CreateOrderLine
Playing step... CheckOrderLineEmptyMatrix
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... PlanOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 4...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 5...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 6...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... Tic
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckOrderSimulation
Playing step... ConfirmOrder
Playing step... Tic
Playing step... CheckOrderSimulation.
Starting New Sequence 1...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... OrderOrder
Playing step... Tic
Playing step... ModifyOrderStartDate
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 2...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... OrderOrder
Playing step... Tic
Playing step... ModifyOrderLineStartDate
Playing step... Tic
Playing step... CheckOrderSimulation
Starting New Sequence 3...
Playing step... CreateOrganisation
Playing step... CreateOrder
Playing step... CreateVariatedResource
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... CheckOrderLineDefaultValues
Playing step... CheckOrderLineTotalQuantity
Playing step... SetOrderLineFullVCL
Playing step... CompleteOrderLineMatrix
Playing step... OrderOrder
Playing step... Tic
Playing step... ModifyOrderCellStartDate
Playing step... Tic
Playing step... CheckOrderSimulation.
Starting New Sequence 1...
Playing step... CheckDeliveryBuilderPresence
Starting New Sequence 2...
Playing step... CreateOrganisation1
Playing step... CreateOrganisation2
Playing step... CreateOrder
Playing step... SetOrderProfile
Playing step... CreateNotVariatedResource
Playing step... Tic
Playing step... CreateOrderLine
Playing step... SetOrderLineResource
Playing step... SetOrderLineDefaultValues
Playing step... OrderOrder
Playing step... Tic
Playing step... CheckDeliveryBuilding
Playing step... ConfirmOrder
Playing step... TicE
Starting New Sequence 1...
Playing step... CreateOrganisation1E
Starting New Sequence 1...
Playing step... CreateOrganisation1E
======================================================================
ERROR: test_15_deliveryBuilder (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1686, in test_15_deliveryBuilder
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 130, in stepTic
self.tic()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 482, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/portal_deliveries/purchase_packing_list_builder', 'build', -2, 6)]
======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1721, in test_16_deliveryBuilderWithNoTic
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: test_17_orderExpand (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 1794, in test_17_orderExpand
sequence_list.play(self)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 122, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 72, in play
step.play(context, sequence=self, quiet=quiet)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 58, in play
method(sequence=sequence)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 798, in stepCreateOrganisation1
self.stepCreateOrganisation(sequence=sequence, sequence_list=sequence_list,
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testOrder.py", line 199, in stepCreateOrganisation
organisation.edit(
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
----------------------------------------------------------------------
Ran 18 tests in 397.669s
FAILED (errors=3)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.619s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... done (32.650s)
Adding erp5_base business template ... done (12.278s)
Adding erp5_pdm business template ... done (6.109s)
Adding erp5_trade business template ... done (34.208s)
Adding erp5_apparel business template ... done (14.925s)
Logout ...
done (111.118s)
Ran Unit test of Resource
.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationBaseCategoryList.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 2...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 3...
Playing step... CreateResource
Playing step... SetIndividualVariationWithEmptyBase
Playing step... Tic
Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 4...
Playing step... CreateResource
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationRangeCategoryList
Starting New Sequence 5...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... SetIndividualVariationWithEmptyBase
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationRangeCategoryList.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 2...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 3...
Playing step... CreateResource
Playing step... SetIndividualVariationWithEmptyBase
Playing step... Tic
Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 4...
Playing step... CreateResource
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationRangeCategoryItemList
Starting New Sequence 5...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... SetIndividualVariationWithEmptyBase
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationRangeCategoryItemList.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationCategoryList
Starting New Sequence 2...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... CheckGetVariationCategoryList
Starting New Sequence 3...
Playing step... CreateResource
Playing step... SetIndividualVariationWithEmptyBase
Playing step... Tic
Playing step... CheckGetVariationCategoryList
Starting New Sequence 4...
Playing step... CreateResource
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryList
Starting New Sequence 5...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... SetIndividualVariationWithEmptyBase
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryList.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 2...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 3...
Playing step... CreateResource
Playing step... SetIndividualVariationWithEmptyBase
Playing step... Tic
Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 4...
Playing step... CreateResource
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryListWithoutOmit
Starting New Sequence 5...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... SetIndividualVariationWithEmptyBase
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryListWithoutOmit.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 2...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 3...
Playing step... CreateResource
Playing step... SetIndividualVariationWithEmptyBase
Playing step... Tic
Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 4...
Playing step... CreateResource
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryItemList
Starting New Sequence 5...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... SetIndividualVariationWithEmptyBase
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryItemList.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 2...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 3...
Playing step... CreateResource
Playing step... SetIndividualVariationWithEmptyBase
Playing step... Tic
Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 4...
Playing step... CreateResource
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryItemListWithoutOmit
Starting New Sequence 5...
Playing step... CreateResource
Playing step... SetCategoryVariation
Playing step... SetIndividualVariationWithEmptyBase
Playing step... SetIndividualVariationWithFillBase
Playing step... Tic
Playing step... CheckGetVariationCategoryItemListWithoutOmit.
Starting New Sequence 1...
Playing step... CreateResource
Playing step... CheckGetVariationPropertyList
Playing step... CheckSetVariationPropertyList
Playing step... CheckGetVariationPropertyList.
Starting New Pricing Case 0...
Creating product...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 1...
Creating product...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 2...
Creating product...
Creating supply line...
Set additional_price on supply line with value 1...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 3...
Creating product...
Creating supply line...
Set surcharge_ratio on supply line with value 0.5...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 4...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 5...
Creating product...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.5...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 6...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.5...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.75...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 7...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.75...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 8...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.75...
Creating supply line...
Set surcharge_ratio on supply line with value 1...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Creating supply line...
Set base_price on supply line with value 5...
Commit transaction...
Tic...
Check product price...
Starting New Pricing Case 9...
Creating product...
Creating supply line...
Set discount_ratio on supply line with value 0.75...
Creating supply line...
Set surcharge_ratio on supply line with value 1...
Creating supply line...
Set exclusive_discount_ratio on supply line with value 0.25...
Creating supply line...
Set additional_price on supply line with value 3...
Commit transaction...
Tic...
Check product price....
Starting New Option Pricing Case 1...
Creating fake product...
Creating supply line...
Creating product...
Creating supply line...
Commit transaction...
Tic...
Check product price without option...
Check product price with option: industrial_phase/phase1...
Check product price with option: industrial_phase/phase2...
Check product price with options: industrial_phase/phase1 industrial_phase/phase2....
Creating generic fake supply ...
Creating fake product 33...
Creating fake node 11...
Creating fake supply 11...
Creating fake supply line 11...
Creating fake node 12...
Creating fake supply 12...
Creating fake supply line 12...
Creating fake node 13...
Creating fake supply 13...
Creating fake supply line 13...
Creating generic fake supply line ...
Creating fake product 34...
Creating fake node 11...
Creating fake supply 11...
Creating fake supply line 11...
Creating fake node 12...
Creating fake supply 12...
Creating fake supply line 12...
Creating fake node 13...
Creating fake supply 13...
Creating fake supply line 13...
Creating generic fake supply line ...
Commit transaction...
Tic...
Check product AnotherFakeProduct33 with destination FakeNode3311
Check product AnotherFakeProduct33 with destination FakeNode3312
Check product AnotherFakeProduct33 with destination FakeNode3313
Check product AnotherFakeProduct33 without destination
Check product AnotherFakeProduct34 with destination FakeNode3411
Check product AnotherFakeProduct34 with destination FakeNode3412
Check product AnotherFakeProduct34 with destination FakeNode3413
Check product AnotherFakeProduct34 without destination.
----------------------------------------------------------------------
Ran 12 tests in 142.485s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.640s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... done (32.564s)
Adding erp5_base business template ... done (12.250s)
Adding erp5_pdm business template ... done (6.117s)
Adding erp5_trade business template ... done (34.203s)
Adding erp5_apparel business template ... done (15.024s)
Logout ...
done (111.054s)
Ran Unit test of Transformation
Starting New Sequence 1...
Playing step... CreateComponentDict
Playing step... CreateOperationDict
Playing step... Tic
Playing step... CreateVariatedResource
Playing step... Tic
Playing step... CreateTransformation
Playing step... Tic
Playing step... CreateTransformationLine
Playing step... Tic
Playing step... CreateIncludedTransformation
Playing step... Tic
Playing step... CreateIncludedTransformationLine
Playing step... Tic
Playing step... VerifyTransformationAggregatedAmountList
Playing step... VerifyIncludedTransformationAggregatedAmountList
Playing step... IncludeTransformation
Playing step... Tic
Playing step... VerifySpecialisedTransformationAggregatedAmountList.
----------------------------------------------------------------------
Ran 1 test in 202.657s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.613s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... done (32.592s)
Logout ...
done (36.501s)
Ran Unit test of Trash Tool
.....
----------------------------------------------------------------------
Ran 5 tests in 42.322s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.635s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_96bd5b460c481cc1e7bd5b66038b83ff ERP5 Site ... done (32.422s)
Adding erp5_base business template ... done (12.219s)
Adding erp5_trade business template ... done (33.833s)
Adding erp5_pdf_editor business template ... done (0.627s)
Adding erp5_pdf_style business template ... done (0.685s)
Adding erp5_pdm business template ... done (6.361s)
Adding erp5_accounting business template ... done (36.115s)
Adding erp5_apparel business template ... done (14.856s)
Adding erp5_budget business template ... done (4.405s)
Adding erp5_commerce business template ... done (3.899s)
Adding erp5_consulting business template ... done (11.083s)
Adding erp5_crm business template ... done (6.487s)
Adding erp5_web business template ... done (10.956s)
Adding erp5_dms business template ... done (16.948s)
Adding erp5_forge business template ... done (9.397s)
Adding erp5_immobilisation business template ... done (8.881s)
Adding erp5_item business template ... done (1.197s)
Adding erp5_mrp business template ... done (6.670s)
Adding erp5_payroll business template ... done (18.285s)
Adding erp5_project business template ... done (27.625s)
Logout ...
done (332.488s)
Ran Unit test of XHTML Test
........................................................................................................................................EEE................E...................EEEEEEE.......................E...........................................EE
======================================================================
ERROR: testProductProduct_view (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in Product_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 314, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ImmobilisationMovement_beforeEdit
AttributeError: getAggregatedItemsNextImmobilisationMovementValueList
======================================================================
ERROR: testProductResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in Product_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 314, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ImmobilisationMovement_beforeEdit
AttributeError: getAggregatedItemsNextImmobilisationMovementValueList
======================================================================
ERROR: testProductResource_viewInventory (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in Product_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 48, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 314, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 2, in ImmobilisationMovement_beforeEdit
AttributeError: getAggregatedItemsNextImmobilisationMovementValueList
======================================================================
ERROR: testPurchase Invoice TransactionPurchaseInvoiceTransaction_viewDetails (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 12, in PurchaseInvoiceTransaction_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale Invoice TransactionSaleInvoiceTransaction_viewAccounting (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale Invoice TransactionSaleInvoiceTransaction_viewDetails (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale Invoice TransactionSaleInvoiceTransaction_viewInvoice (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale Invoice TransactionSaleTradeCondition_viewProfile (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale Invoice TransactionTradeCondition_viewDiscount (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale Invoice TransactionTradeCondition_viewPayment (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 16, in SaleInvoiceTransaction_init
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 8, in AccountingTransaction_initFromPreferences
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSale OpportunitySaleOpportunity_view (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 3, in Ticket_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testSupport RequestSupportRequest_view (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 144, in testMethod
content = module.newContent(portal_type=portal_type)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Core/Folder.py", line 116, in newContent
is_indexable=is_indexable
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/ERP5Type.py", line 269, in constructInstance
init_script(*args, **kw)
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
File "Script (Python)", line 3, in Ticket_init
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/Base.py", line 163, in __call__
wf[wf_id].notifyWorkflowMethod(instance, self._id, args=args, kw=kw, transition_list=transition_list)
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 40, in DCWorkflowDefinition_notifyWorkflowMethod
raise Unauthorized(method_id)
Unauthorized: You are not allowed to access 'edit' in this context
======================================================================
ERROR: testWeb SiteBase_viewMetadata (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 146, in testMethod
self.assert_(validate_xhtml(view()))
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 130, in validate_xhtml
stdout, stdin, stderr = popen2.popen3('/usr/bin/tidy -e -q -utf8')
File "/usr/lib/python2.4/popen2.py", line 173, in popen3
inst = Popen3(cmd, True, bufsize)
File "/usr/lib/python2.4/popen2.py", line 46, in __init__
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
======================================================================
ERROR: testWeb SitePredicate_view (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 146, in testMethod
self.assert_(validate_xhtml(view()))
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5/tests/testXHTML.py", line 130, in validate_xhtml
stdout, stdin, stderr = popen2.popen3('/usr/bin/tidy -e -q -utf8')
File "/usr/lib/python2.4/popen2.py", line 173, in popen3
inst = Popen3(cmd, True, bufsize)
File "/usr/lib/python2.4/popen2.py", line 46, in __init__
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
----------------------------------------------------------------------
Ran 251 tests in 665.858s
FAILED (errors=14)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (11.626s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_63ea2d9773261102008241df23e61b24 ERP5 Site ... done (74.216s)
Logout ...
done (78.337s)
Ran Unit test of CachedSkinsTool
....
----------------------------------------------------------------------
Ran 4 tests in 78.478s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.643s)
...
----------------------------------------------------------------------
Ran 3 tests in 72.654s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.638s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9cf37051965bb024b61a089d8579ab35 ERP5 Site ... done (32.638s)
Logout ...
done (37.723s)
Ran Unit test of Cache Tool
Check CacheTool .
Check Portal Types.
Create Cache Tool Factories.
Create Cache Method (Python Script).
Test each type of cache plugin individually..
Test combination of available cache plugins under a cache factory.
----------------------------------------------------------------------
Ran 6 tests in 85.439s
OK
========================================
TESTING: ram_cache_factory
Calculation time (1st call) 5.98569393158
Calculation time (2nd call) 0.000123977661133
Calculation time (after cache clear) 5.87574386597
========================================
TESTING: distributed_ram_cache_factory
Calculation time (1st call) 5.86906480789
Calculation time (2nd call) 0.000379085540771
Calculation time (after cache clear) 5.90022683144
========================================
TESTING: sql_cache_factory
Calculation time (1st call) 5.90591406822
Calculation time (2nd call) 0.000728845596313
Calculation time (after cache clear) 5.90370702744
========================================
TESTING: erp5_user_factory
Calculation time (1st call) 5.8844769001
Calculation time (2nd call) 0.000123977661133
Calculation time (after cache clear) 5.91264891624
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.642s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f810c48b06888571f659e19e28e9bb23 ERP5 Site ... done (32.709s)
Logout ...
done (38.897s)
Ran Unit test of Class Tool
......
----------------------------------------------------------------------
Ran 6 tests in 45.883s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.640s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... done (32.472s)
Adding erp5_base business template ... done (35.544s)
Logout ...
done (76.357s)
Ran Unit test of Constraint
................
----------------------------------------------------------------------
Ran 16 tests in 99.057s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.639s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... done (32.982s)
Adding erp5_base business template ... done (12.308s)
Logout ...
done (53.565s)
Ran Unit test of ERP5Type
...............................F...
======================================================================
FAIL: test_22_securityReindex (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/unit_test/Products/ERP5Type/tests/testERP5Type.py", line 1160, in test_22_securityReindex
self.assertTrue('Auditor' not in user.getRolesInContext(person))
AssertionError
----------------------------------------------------------------------
Ran 35 tests in 83.382s
FAILED (failures=1)
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.639s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e4065a9cfbfc92476212a68f5fc861f9 ERP5 Site ... done (32.711s)
Logout ...
done (36.606s)
Ran Unit test of Folder
.......
----------------------------------------------------------------------
Ran 7 tests in 37.617s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.637s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d00f90cfaaee372a9108f3616f1fc446 ERP5 Site ... done (32.555s)
Logout ...
done (36.449s)
Ran Unit test of MemcachedTool
......
----------------------------------------------------------------------
Ran 6 tests in 36.736s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.632s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (32.437s)
Adding erp5_base business template ... done (12.162s)
Adding erp5_ui_test business template ... done (17.766s)
Logout ...
done (73.199s)
Ran Unit test of Performance
FF
======================================================================
FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testPerformance.py", line 118, in test_00_viewBarObject
self.failUnless(MIN_OBJECT_VIEW < req_time < MAX_OBJECT_VIEW)
AssertionError
======================================================================
FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/mnt/erp5_cd/zope/Products/ERP5Type/tests/testPerformance.py", line 183, in test_01_viewBarModule
self.failUnless(MIN_TIC < tic_value < MAX_TIC)
AssertionError
----------------------------------------------------------------------
Ran 2 tests in 388.093s
FAILED (failures=2)
time to view object form 0.1120 < 0.1221 < 0.1220
nb objects = 000100
add = 0.0070 < 0.0081 < 0.0090
tic = 0.0340 < 0.0359 < 0.0355
view = 0.1250 < 0.1461 < 0.1750
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.638s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_84c06544243875baa133579d4e4ef5f2 ERP5 Site ... done (32.447s)
Logout ...
done (36.323s)
Ran Unit test of Session Tool
Check SessionTool .
Create of session object and assign attributes..
Delete some session keys..
Delete session object..
----------------------------------------------------------------------
Ran 4 tests in 36.535s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.594s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9f295f9ace46ae534d692b8af7ed4288 ERP5 Site ... done (32.460s)
Logout ...
done (36.313s)
Ran Unit test of TimerService
.
----------------------------------------------------------------------
Ran 1 test in 36.397s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.613s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_0c4d3588ffc2e98926f3118a86b0245c ERP5 Site ... done (32.488s)
Logout ...
done (36.382s)
Ran Unit test of Transactional Variable
...
----------------------------------------------------------------------
Ran 3 tests in 36.517s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.632s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... done (32.541s)
Adding erp5_base business template ... done (12.201s)
Adding erp5_trade business template ... done (59.259s)
Logout ...
done (112.519s)
Ran Unit test of XMLMatrix
...
----------------------------------------------------------------------
Ran 3 tests in 126.797s
OK
SOFTWARE_HOME: /initrd/loopfs/usr/lib/zope/lib/python
INSTANCE_HOME: /mnt/erp5_cd/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
../usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
done (1.631s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_307324b73f3c2bda3de4df0a24b7a147 ERP5 Site ... done (32.437s)
Logout ...
done (36.295s)
Ran Unit test of Deferred Connection
....
----------------------------------------------------------------------
Ran 4 tests in 36.481s
OK
More information about the Erp5-report
mailing list