/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 bzrlib/tests/test_workingtree.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-17 08:14:59 UTC
  • mto: This revision was merged to the branch mainline in revision 2085.
  • Revision ID: john@arbash-meinel.com-20061017081459-fd7ca80f9ff0f4dd
Fix the test that assumed unique ids were generated

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        t = control.get_workingtree_transport(None)
174
174
        self.assertEqualDiff('Bazaar-NG Working Tree format 3',
175
175
                             t.get('format').read())
176
 
        self.assertContainsRe(t.get('inventory').read(), 
177
 
                              '<inventory file_id="[^"]*" format="5">\n'
 
176
        # self.assertContainsRe(t.get('inventory').read(), 
 
177
        #                       '<inventory file_id="[^"]*" format="5">\n'
 
178
        #                       '</inventory>\n',
 
179
        #                      )
 
180
        # WorkingTreeFormat3 doesn't default to creating a unique root id,
 
181
        # because it is incompatible with older bzr versions
 
182
        self.assertContainsRe(t.get('inventory').read(),
 
183
                              '<inventory format="5">\n'
178
184
                              '</inventory>\n',
179
185
                             )
180
186
        self.assertEqualDiff('### bzr hashcache v5\n',