~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_export.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-24 18:26:21 UTC
  • mfrom: (4567 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4568.
  • Revision ID: john@arbash-meinel.com-20090724182621-68s2jhoqf3pn72n7
Merge bzr.dev 4567 to resolve NEWS

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')