~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_debug.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-18 13:02:52 UTC
  • mfrom: (5830.3.6 i18n-msgfmt)
  • Revision ID: pqm@pqm.ubuntu.com-20110518130252-ky96qcvzt6o0zg3f
(mbp) add build_mo command to setup.py (INADA Naoki)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        # I would like to avoid run_bzr_subprocess here, but we need it to be
53
53
        # connected to a real TextUIFactory. The NullProgressView always
54
54
        # ignores transport activity.
55
 
        out, err = self.run_bzr_subprocess(
56
 
            'branch -Dbytes -Oprogress_bar=text %s/tree target'
57
 
            % (remote_trans.base,))
 
55
        env = {'BZR_PROGRESS_BAR': 'text'}
 
56
        out, err = self.run_bzr_subprocess('branch -Dbytes %s/tree target'
 
57
                                           % (remote_trans.base,),
 
58
                                           env_changes=env)
58
59
        self.assertContainsRe(err, 'Branched 1 revision')
59
60
        self.assertContainsRe(err, 'Transferred:.*kB')