~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-15 02:39:51 UTC
  • mfrom: (2665.4.4 run_external_fix)
  • Revision ID: pqm@pqm.ubuntu.com-20070815023951-yj66qy38vxjbdwrl
Harmonize run_bzr_subprocess with run_bzr calling conventions

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        self.tree = tree
42
42
 
43
43
    def test_log_C(self):
44
 
        out, err = self.run_bzr_subprocess('--no-aliases', '--no-plugins',
45
 
               '-q', 'log', '--log-format=long', 'tree',
 
44
        out, err = self.run_bzr_subprocess(
 
45
            '--no-aliases --no-plugins -q log --log-format=long tree',
46
46
               env_changes={'LANG':'C', 'BZR_PROGRESS_BAR':'none',
47
47
                            'LC_ALL':None, 'LC_CTYPE':None, 'LANGUAGE':None})
48
48
        self.assertEqual('', err)
57
57
""", out)
58
58
 
59
59
    def test_log_BOGUS(self):
60
 
        out, err = self.run_bzr_subprocess('--no-aliases', '--no-plugins',
61
 
               '-q', 'log', '--log-format=long', 'tree',
 
60
        out, err = self.run_bzr_subprocess(
 
61
            '--no-aliases --no-plugins -q log --log-format=long tree',
62
62
               env_changes={'LANG':'BOGUS', 'BZR_PROGRESS_BAR':'none',
63
63
                            'LC_ALL':None, 'LC_CTYPE':None, 'LANGUAGE':None})
64
64
        # XXX: This depends on the exact formatting of a locale.Error