/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_cat.py

  • Committer: Andrew Bennetts
  • Date: 2010-01-11 12:37:53 UTC
  • mto: This revision was merged to the branch mainline in revision 4948.
  • Revision ID: andrew.bennetts@canonical.com-20100111123753-w88kec1ny3sngod4
Fix bzrlib.test.commands.*; they need to use 'run_direct' not 'run' so that the OperationWithCleanups is used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        self.start_logging_connections()
51
51
 
52
52
        cmd = cmd_cat()
53
 
        cmd.run(self.get_url('branch/foo'))
 
53
        cmd.run_direct(self.get_url('branch/foo'))
54
54
        self.assertEquals(1, len(self.connections))
55
55
        self.assertEquals('foo', self.outf.getvalue())
56
56