~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_tree/test_export.py

  • Committer: Martin Pool
  • Date: 2011-06-14 01:26:41 UTC
  • mto: (6034.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 6043.
  • Revision ID: mbp@canonical.com-20110614012641-dnb69zb57ae5je4w
Move all test features into bzrlib.tests.features

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from bzrlib import osutils
23
23
from bzrlib import tests
24
24
from bzrlib.tests.per_tree import TestCaseWithTree
 
25
from bzrlib.tests import (
 
26
    features,
 
27
    )
25
28
 
26
29
 
27
30
class ExportTest(object):
37
40
        export(tree_a, 'output', self.exporter)
38
41
 
39
42
    def prepare_symlink_export(self):
40
 
        self.requireFeature(tests.SymlinkFeature)
 
43
        self.requireFeature(features.SymlinkFeature)
41
44
        work_a = self.make_branch_and_tree('wta')
42
45
        os.symlink('target', 'wta/link')
43
46
        work_a.add('link', 'link-id')