[Neo-report] r2633 gregory - in /trunk/neo: storage/ tests/storage/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 24 10:14:07 CET 2011


Author: gregory
Date: Mon Jan 24 10:14:06 2011
New Revision: 2633

Log:
Fix r2609: Follow the previous way to initialize app's attributes

Modified:
    trunk/neo/storage/app.py
    trunk/neo/tests/storage/testClientHandler.py
    trunk/neo/tests/storage/testStorageApp.py
    trunk/neo/tests/storage/testStorageHandler.py

Modified: trunk/neo/storage/app.py
==============================================================================
--- trunk/neo/storage/app.py [iso-8859-1] (original)
+++ trunk/neo/storage/app.py [iso-8859-1] Mon Jan 24 10:14:06 2011
@@ -72,7 +72,7 @@ class Application(object):
 
         # operation related data
         self.event_queue = None
-        self.event_queue_dict = {}
+        self.event_queue_dict = None
         self.operational = False
 
         # ready is True when operational and got all informations

Modified: trunk/neo/tests/storage/testClientHandler.py
==============================================================================
--- trunk/neo/tests/storage/testClientHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testClientHandler.py [iso-8859-1] Mon Jan 24 10:14:06 2011
@@ -45,7 +45,7 @@ class StorageClientHandlerTests(NeoUnitT
         self.app.store_lock_dict = {}
         self.app.load_lock_dict = {}
         self.app.event_queue = deque()
-        self.app.event_queue_keys = set()
+        self.app.event_queue_dict = {}
         self.app.tm = Mock({'__contains__': True})
         # handler
         self.operation = ClientOperationHandler(self.app)

Modified: trunk/neo/tests/storage/testStorageApp.py
==============================================================================
--- trunk/neo/tests/storage/testStorageApp.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testStorageApp.py [iso-8859-1] Mon Jan 24 10:14:06 2011
@@ -34,7 +34,7 @@ class StorageAppTests(NeoUnitTestBase):
         config = self.getStorageConfiguration(master_number=1)
         self.app = Application(config)
         self.app.event_queue = deque()
-        self.app.event_queue_keys = set()
+        self.app.event_queue_dict = {}
 
     def test_01_loadPartitionTable(self):
         self.app.dm = Mock({

Modified: trunk/neo/tests/storage/testStorageHandler.py
==============================================================================
--- trunk/neo/tests/storage/testStorageHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testStorageHandler.py [iso-8859-1] Mon Jan 24 10:14:06 2011
@@ -43,7 +43,7 @@ class StorageStorageHandlerTests(NeoUnit
         self.app.store_lock_dict = {}
         self.app.load_lock_dict = {}
         self.app.event_queue = deque()
-        self.app.event_queue_keys = set()
+        self.app.event_queue_dict = {}
         # handler
         self.operation = StorageOperationHandler(self.app)
         # set pmn




More information about the Neo-report mailing list