[ZODB-Dev] Storage API corner cases
Toby Dickenson
tdickenson at geminidataloggers.com
Fri May 30 11:26:12 EDT 2003
On Tuesday 27 May 2003 16:53, Barry Warsaw wrote:
>> Ive been adding some unit tests to ZODB based on their coverage of
>> DirectoryStorage, and discovered two corner cases where the storage
>> API is currently implemented inconsistently
>
> The interface isn't very helpful here. :) I think getSerial() probably
> ought to raise a KeyError when called on an uncreated object.
Noone publicly disagreed so I have committed some new zodb tests for this
behaviour, and various other issues.
The new test for getSerial now fails for FileStorage (and I guess BDBStorage,
although I havent tested it)
--
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson
More information about the ZODB-Dev
mailing list