Rev 10: Test that bloom is none for internal nodes without one. in http://people.ubuntu.com/~robertc/baz2.0/plugins/index2/trunk

Robert Collins robertc at robertcollins.net
Wed Jul 2 05:33:45 BST 2008


At http://people.ubuntu.com/~robertc/baz2.0/plugins/index2/trunk

------------------------------------------------------------
revno: 10
revision-id: robertc at robertcollins.net-20080702043345-w3m0o6tubke13swa
parent: robertc at robertcollins.net-20080702042729-36uy2gxmztjhrzbw
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Wed 2008-07-02 14:33:45 +1000
message:
  Test that bloom is none for internal nodes without one.
modified:
  tests/test_btree_index.py      test_index.py-20080624222253-p0x5f92uyh5hw734-13
=== modified file 'tests/test_btree_index.py'
--- a/tests/test_btree_index.py	2008-07-02 04:27:29 +0000
+++ b/tests/test_btree_index.py	2008-07-02 04:33:45 +0000
@@ -499,6 +499,7 @@
             ("4444444444444444444444444444444444444444",),
             ], node.keys)
         self.assertEqual(1, node.offset)
+        self.assertEqual(None, node.bloom)
 
     def test_InternalNode_bloom(self):
         # Create a little bloom so we can check it is parsed right




More information about the bazaar-commits mailing list