~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_shelf_ui.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:
27
27
    tests,
28
28
)
29
29
from bzrlib.tests import script
 
30
from bzrlib.tests import (
 
31
    features,
 
32
    )
30
33
 
31
34
 
32
35
class ExpectShelver(shelf_ui.Shelver):
208
211
        shelver.expect('Shelve 1 change(s)? [yNfq?]', 'y')
209
212
 
210
213
    def test_shelve_modify_target(self):
211
 
        self.requireFeature(tests.SymlinkFeature)
 
214
        self.requireFeature(features.SymlinkFeature)
212
215
        tree = self.create_shelvable_tree()
213
216
        os.symlink('bar', 'tree/baz')
214
217
        tree.add('baz', 'baz-id')
440
443
        shelver.expect('Apply 1 change(s)? [yNfq?]', 'y')
441
444
 
442
445
    def test_shelve_modify_target(self):
443
 
        self.requireFeature(tests.SymlinkFeature)
 
446
        self.requireFeature(features.SymlinkFeature)
444
447
        tree = self.create_shelvable_tree()
445
448
        os.symlink('bar', 'tree/baz')
446
449
        tree.add('baz', 'baz-id')