~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_init_repository.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:
30
30
        cmd = cmd_init_repository()
31
31
        # We don't care about the ouput but 'outf' should be defined
32
32
        cmd.outf = tests.StringIOWrapper()
33
 
        cmd.run(self.get_url())
 
33
        cmd.run_direct(self.get_url())
34
34
        self.assertEquals(1, len(self.connections))
35
35