/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_chk_map.py

Fix a bunch of tests on python3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1893
1893
            sorted(node.iteritems(None, [('strange',), ('weird',)])))
1894
1894
 
1895
1895
    def test_iteritems_two_children_with_hash(self):
1896
 
        search_key_func = chk_map.search_key_registry.get('hash-255-way')
 
1896
        search_key_func = chk_map.search_key_registry.get(b'hash-255-way')
1897
1897
        node = InternalNode(search_key_func=search_key_func)
1898
1898
        leaf1 = LeafNode(search_key_func=search_key_func)
1899
1899
        leaf1.map(None, StaticTuple('foo bar',), 'quux')