~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_chk_map.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-21 19:07:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4771.
  • Revision ID: john@arbash-meinel.com-20091021190730-70kt0cwn91ayepbc
foundĀ oneĀ more

Show diffs side-by-side

added added

removed removed

Lines of Context:
2131
2131
    def help__read_all_roots(self, search_key_func):
2132
2132
        c_map = self.make_root_only_map(search_key_func=search_key_func)
2133
2133
        key1 = c_map.key()
2134
 
        c_map.map(StaticTuple('aaa',), 'new aaa content')
 
2134
        c_map.map(('aaa',), 'new aaa content')
2135
2135
        key2 = c_map._save()
2136
2136
        diff = self.get_difference([key2], [key1], search_key_func)
2137
2137
        root_results = [record.key for record in diff._read_all_roots()]