[Neo-report] r1794 gregory - /trunk/neo/tests/zodb/__init__.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 19 09:45:55 CET 2010
Author: gregory
Date: Fri Feb 19 09:45:54 2010
New Revision: 1794
Log:
Add open() no-op method to zodb base test case.
This method is the symetric of close() on Storage (see previous commit) and
is required for some ZODB tests. Support read_only attribute.
Modified:
trunk/neo/tests/zodb/__init__.py
Modified: trunk/neo/tests/zodb/__init__.py
==============================================================================
--- trunk/neo/tests/zodb/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/zodb/__init__.py [iso-8859-1] Fri Feb 19 09:45:54 2010
@@ -38,3 +38,7 @@
self._storage.cleanup()
self.neo.stop()
+ def open(self, read_only=False):
+ # required for some tests (see PersitentTests), no-op for NEO ?
+ self._storage._is_read_only = read_only
+
More information about the Neo-report
mailing list