/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/test_permissions.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-17 23:40:50 UTC
  • mto: (7045.3.3 python3-r)
  • mto: This revision was merged to the branch mainline in revision 7050.
  • Revision ID: jelmer@jelmer.uk-20180717234050-d8ov7a8e6dotrj07
Fix per_pack_repository tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        b = t.branch
86
86
        with open('a', 'wb') as f: f.write(b'foo\n')
87
87
        # ensure check_mode_r works with capital-letter file-ids like TREE_ROOT
88
 
        t.add('a', 'CAPS-ID')
 
88
        t.add('a', b'CAPS-ID')
89
89
        t.commit('foo')
90
90
 
91
91
        chmod_r('.bzr', 0o644, 0o755)