~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_add.py

  • Committer: Robert Collins
  • Date: 2007-07-03 02:38:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2581.
  • Revision ID: robertc@robertcollins.net-20070703023836-etkrpxm2rmbhqgaj
* ``bzrlib.add.FastPath`` is now private and moved to 
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
 
155
155
    def run_action(self, output):
156
156
        from bzrlib.add import AddAction
157
 
        from bzrlib.mutabletree import FastPath
 
157
        from bzrlib.mutabletree import _FastPath
158
158
        inv = Inventory()
159
159
        stdout = StringIO()
160
160
        action = AddAction(to_file=stdout, should_print=bool(output))
161
161
 
162
 
        self.apply_redirected(None, stdout, None, action, inv, None, FastPath('path'), 'file')
 
162
        self.apply_redirected(None, stdout, None, action, inv, None,
 
163
            _FastPath('path'), 'file')
163
164
        self.assertEqual(stdout.getvalue(), output)