~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

Merge from mbp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
 
138
138
    def setUp(self):
139
139
        super(TestEntryDiffing, self).setUp()
140
 
        self.branch = Branch.initialize('.')
 
140
        self.branch = Branch.initialize(u'.')
141
141
        self.wt = self.branch.working_tree()
142
142
        print >> open('file', 'wb'), 'foo'
143
143
        self.branch.working_tree().add(['file'], ['fileid'])
240
240
        # to change, and then test merge patterns
241
241
        # with fake parent entries.
242
242
        super(TestSnapshot, self).setUp()
243
 
        self.branch = Branch.initialize('.')
 
243
        self.branch = Branch.initialize(u'.')
244
244
        self.build_tree(['subdir/', 'subdir/file'], line_endings='binary')
245
245
        self.branch.working_tree().add(['subdir', 'subdir/file'],
246
246
                                       ['dirid', 'fileid'])
327
327
        #   a descendent of the other. (B, D)
328
328
        super(TestPreviousHeads, self).setUp()
329
329
        self.build_tree(['file'])
330
 
        self.branch = Branch.initialize('.')
 
330
        self.branch = Branch.initialize(u'.')
331
331
        self.wt = self.branch.working_tree()
332
332
        self.wt.commit('new branch', allow_pointless=True, rev_id='A')
333
333
        self.inv_A = self.branch.get_inventory('A')