~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(gz) Create working tree at specified revision when doing a local push
 (Martin Packman)

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')