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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-03-24 15:21:10 UTC
  • mfrom: (6913.3.6 avoid-file-ids)
  • Revision ID: breezy.the.bot@gmail.com-20180324152110-on6bodrd92kbmuwb
Avoid use of file ids in a few more places.

Merged from https://code.launchpad.net/~jelmer/brz/avoid-file-ids/+merge/342033

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
            self.wt._is_executable_from_path_and_stat_from_basis
181
181
        rev_id1 = self.wt.commit('one')
182
182
        rev_tree1 = self.wt.branch.repository.revision_tree(rev_id1)
183
 
        a_executable = rev_tree1.root_inventory[self.a_id].executable
184
 
        b_executable = rev_tree1.root_inventory[self.b_id].executable
 
183
        a_executable = rev_tree1.is_executable('a')
 
184
        b_executable = rev_tree1.is_executable('b')
185
185
        self.assertIsNot(None, a_executable)
186
186
        self.assertTrue(a_executable)
187
187
        self.assertIsNot(None, b_executable)