[Zope3-checkins] CVS: ZODB4/src/zodb/storage/tests - synchronization.py:1.3
Barry Warsaw
barry@wooz.org
Wed, 22 Jan 2003 15:38:28 -0500
Update of /cvs-repository/ZODB4/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv21755
Modified Files:
synchronization.py
Log Message:
cleanups
=== ZODB4/src/zodb/storage/tests/synchronization.py 1.2 => 1.3 ===
--- ZODB4/src/zodb/storage/tests/synchronization.py:1.2 Wed Dec 25 09:12:20 2002
+++ ZODB4/src/zodb/storage/tests/synchronization.py Wed Jan 22 15:38:25 2003
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# Copyright (c) 2001 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -11,6 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
+
"""Test the storage's implemenetation of the storage synchronization spec.
The Synchronization spec
@@ -57,18 +58,16 @@
FileStorage does not allow undo() during a pack. How should this be
tested? Is it a general restriction?
-
-
-
"""
+from zodb.storage.base import ZERO
from zodb.ztransaction import Transaction
from zodb.interfaces import StorageTransactionError
VERSION = "testversion"
-OID = "\000" * 8
-SERIALNO = "\000" * 8
-TID = "\000" * 8
+OID = ZERO
+SERIALNO = ZERO
+TID = ZERO
class SynchronizedStorage: