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

  • Committer: Andrew Bennetts
  • Date: 2009-07-27 05:24:02 UTC
  • mfrom: (4570 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4573.
  • Revision ID: andrew.bennetts@canonical.com-20090727052402-e3vakc2pnq0y66gm
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
from bzrlib import (
21
21
    export,
 
22
    osutils,
22
23
    tests,
23
24
    )
24
25
 
34
35
        self.failUnlessExists('target/a/b')
35
36
        self.failIfExists('target/a/c')
36
37
 
 
38
    def test_dir_export_symlink(self):
 
39
        self.requireFeature(tests.SymlinkFeature)
 
40
        wt = self.make_branch_and_tree('.')
 
41
        os.symlink('source', 'link')
 
42
        wt.add(['link'])
 
43
        export.export(wt, 'target', format="dir")
 
44
        self.failUnlessExists('target/link')