155
155
def run_action(self, output):
156
156
from bzrlib.add import AddAction
160
160
action = AddAction(to_file=stdout, should_print=bool(output))
162
self.apply_redirected(None, stdout, None, action, inv, None, FastPath('path'), 'file')
162
self.apply_redirected(None, stdout, None, action, inv, None,
163
164
self.assertEqual(stdout.getvalue(), output)