/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-11-16 23:15:15 UTC
  • mfrom: (7180 work)
  • mto: This revision was merged to the branch mainline in revision 7183.
  • Revision ID: jelmer@jelmer.uk-20181116231515-zqd2yn6kj8lfydyp
Merge trunk.

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'))