[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/blob_transaction.txt Removed unnecessary dependencies on the storage's OID generation policy.
Shane Hathaway
shane at hathawaymix.org
Sun Jul 12 03:42:08 EDT 2009
Log message for revision 101823:
Removed unnecessary dependencies on the storage's OID generation policy.
Changed:
U ZODB/trunk/src/ZODB/tests/blob_transaction.txt
-=-
Modified: ZODB/trunk/src/ZODB/tests/blob_transaction.txt
===================================================================
--- ZODB/trunk/src/ZODB/tests/blob_transaction.txt 2009-07-11 18:15:31 UTC (rev 101822)
+++ ZODB/trunk/src/ZODB/tests/blob_transaction.txt 2009-07-12 07:42:07 UTC (rev 101823)
@@ -235,7 +235,7 @@
directory of the blob storage:
>>> os.listdir(os.path.join(blob_dir, 'tmp', 'savepoints'))
- ['0x03-0x....spb']
+ ['0x...-0x....spb']
>>> transaction.commit()
After committing the transaction, the temporary savepoint files are moved to
@@ -255,7 +255,7 @@
directory:
>>> os.listdir(os.path.join(blob_dir, 'tmp', 'savepoints'))
- ['0x03-0x....spb']
+ ['0x...-0x....spb']
>>> root5['blob'].open("w").write(" And the weather is beautiful.")
>>> savepoint.rollback()
@@ -263,7 +263,7 @@
XXX Currently, savepoint state of blobs remains after a rollback:
>>> os.listdir(os.path.join(blob_dir, 'tmp', 'savepoints'))
- ['0x03-0x....spb']
+ ['0x...-0x....spb']
>>> root5['blob'].open("r").read()
"I'm a happy blob. And I'm singing. And I'm dancing."
@@ -272,7 +272,7 @@
XXX Currently, savepoint state of blobs remains even after an abort:
>>> os.listdir(os.path.join(blob_dir, 'tmp', 'savepoints'))
- ['0x03-0x....spb']
+ ['0x...-0x....spb']
Reading Blobs outside of a transaction
--------------------------------------
@@ -408,7 +408,7 @@
>>> blob_storage.load(new_oid, '')
Traceback (most recent call last):
...
- POSKeyError: 0x06
+ POSKeyError: 0x...
>>> blob_storage.loadBlob(blob._p_oid, s2)
Traceback (most recent call last):
More information about the Zodb-checkins
mailing list