~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-11 13:15:01 UTC
  • mfrom: (4900.1.6 command-cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20100111131501-btdm0vi95l7xjlp1
(andrew) Implement Command.add_cleanup,
        and replace try/finally blocks in bzrlib.builtins with it.

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