/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/plugins/fastimport/tests/test_commands.py

  • Committer: Jelmer Vernooij
  • Date: 2019-12-26 13:20:45 UTC
  • mfrom: (7290.42.3 work)
  • mto: This revision was merged to the branch mainline in revision 7429.
  • Revision ID: jelmer@jelmer.uk-20191226132045-05mh441mzgqxljio
merge lp:brz/3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import gzip
24
24
 
25
25
from .... import tests
 
26
from ....tests import features
26
27
from ....tests.blackbox import ExternalBase
27
28
 
28
29
from ..cmds import (
155
156
        self.assertEquals("", data)
156
157
        self.assertPathExists("br.fi")
157
158
 
 
159
    def test_symlink(self):
 
160
        tree = self.make_branch_and_tree("br")
 
161
        self.requireFeature(features.SymlinkFeature)
 
162
        os.symlink('symlink-target', 'br/symlink')
 
163
        tree.add('symlink')
 
164
        tree.commit("add a symlink")
 
165
        data = self.run_bzr("fast-export br br.fi")[0]
 
166
        self.assertEquals("", data)
 
167
        self.assertPathExists("br.fi")
 
168
 
158
169
    def test_tag_rewriting(self):
159
170
        tree = self.make_branch_and_tree("br")
160
171
        tree.commit("pointless")