/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/per_workingtree/test_mkdir.py

  • Committer: Jelmer Vernooij
  • Date: 2018-10-29 11:27:33 UTC
  • mto: This revision was merged to the branch mainline in revision 7170.
  • Revision ID: jelmer@jelmer.uk-20181029112733-bjvm24z12svwl53m
Get rid of file_ids in most of Tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        t.lock_write()
30
30
        self.addCleanup(t.unlock)
31
31
        file_id = t.mkdir('path')
32
 
        self.assertEqual('directory', t.kind('path', file_id))
 
32
        self.assertEqual('directory', t.kind('path'))
33
33
 
34
34
    def test_mkdir_with_id(self):
35
35
        t = self.make_branch_and_tree('t1')
42
42
        else:
43
43
            file_id = t.mkdir('path', b'my-id')
44
44
            self.assertEqual(b'my-id', file_id)
45
 
            self.assertEqual('directory', t.kind('path', file_id))
 
45
            self.assertEqual('directory', t.kind('path'))