/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_tree/test_symlinks.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 01:44:35 UTC
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304014435-7oxfu3de29rqh5bm
Fix more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        result_tree = result_dir.open_workingtree()
100
100
        self.assertFalse(result_tree.supports_symlinks())
101
101
        self.assertPathDoesNotExist('b/symlink')
102
 
        # Even though 'symlink' does not exist, the tree does not have any delta
103
102
        basis_tree = self.branch.basis_tree()
104
103
        self.assertTrue(basis_tree.has_filename('symlink'))
105
104
        with result_tree.lock_read():
106
105
            self.assertEqual(
107
 
                [],
108
 
                list(result_tree.iter_changes(basis_tree)))
 
106
                [('symlink', 'symlink')],
 
107
                [c[1] for c in result_tree.iter_changes(basis_tree)])