/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 bzrlib/tests/test_transform.py

  • Committer: Gordon Tyler
  • Date: 2009-11-17 02:27:12 UTC
  • mfrom: (4800 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4802.
  • Revision ID: gordon@doxxx.net-20091117022712-4nrb2c0h4mzfkvx2
Merged from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2470
2470
        self.assertIs(None, summary[3])
2471
2471
 
2472
2472
    def test_change_executability(self):
2473
 
        if not osutils.supports_executable():
2474
 
            raise TestNotApplicable()
2475
2473
        tree = self.make_branch_and_tree('tree')
2476
2474
        self.build_tree(['tree/path'])
2477
2475
        tree.add('path')
2491
2489
        # size must be known
2492
2490
        self.assertEqual(len('contents'), summary[1])
2493
2491
        # not executable
2494
 
        if osutils.supports_executable():
2495
 
            self.assertEqual(False, summary[2])
2496
 
        else:
2497
 
            self.assertEqual(None, summary[2])
 
2492
        self.assertEqual(False, summary[2])
2498
2493
        # will not have hash (not cheap to determine)
2499
2494
        self.assertIs(None, summary[3])
2500
2495