Author giampaolo.rodola
Recipients brett.cannon, giampaolo.rodola
Date 2008-01-30.02:51:31
SpamBayes Score 0.00375861
Marked as misclassified No
Message-id <>
Updated version in attachment. 

- Added "if self.g is not None: self.g.close()" clause in tearDown.
- Used "test.test_support.unlink(filename)" instead of the try/except
- Added tests for the flag clause in the open() statement by trying all
supported mode flags. I also called the method "test_flags" instead of
"test_modes" since "mode" is a kwarg for open().
- Added tests for trying to open non existing database with flag == 'r'
and 'w'.

Untested methods which are now tested:
- keys().
- firstkey().
- nextkey().
- reorganize()

The only method currently not tested yet is sync(). I'm not sure how to
test it, maybe I'm misunderstanding its purpose.
Date User Action Args
2008-01-30 02:51:34giampaolo.rodolasetspambayes_score: 0.00375861 -> 0.00375861
recipients: + giampaolo.rodola, brett.cannon
2008-01-30 02:51:34giampaolo.rodolasetspambayes_score: 0.00375861 -> 0.00375861
messageid: <>
2008-01-30 02:51:32giampaolo.rodolalinkissue1960 messages
2008-01-30 02:51:31giampaolo.rodolacreate