~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: 2009-09-16 12:30:02 UTC
  • mfrom: (4694.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090916123002-46bfl24pa898h8cq
(vila) (trivial) Fix NEWS order

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import os
20
20
import sys
21
21
 
22
 
from bzrlib import (
23
 
    tests,
24
 
    )
25
 
 
26
 
 
27
 
class TestLocale(tests.TestCaseWithTransport):
 
22
from bzrlib.tests import TestCaseWithTransport, TestSkipped
 
23
 
 
24
 
 
25
class TestLocale(TestCaseWithTransport):
28
26
 
29
27
    def setUp(self):
30
28
        super(TestLocale, self).setUp()
31
29
 
32
30
        if sys.platform in ('win32',):
33
 
            raise tests.TestSkipped('Windows does not respond to the LANG'
34
 
                                    ' env variable')
 
31
            raise TestSkipped('Windows does not respond to the LANG'
 
32
                              ' env variable')
35
33
 
36
34
        tree = self.make_branch_and_tree('tree')
37
35
        self.build_tree(['tree/a'])
43
41
        self.tree = tree
44
42
 
45
43
    def test_log_C(self):
46
 
        self.disable_missing_extensions_warning()
47
44
        out, err = self.run_bzr_subprocess(
48
45
            '--no-aliases --no-plugins log -q --log-format=long tree',
49
46
               env_changes={'LANG':'C', 'BZR_PROGRESS_BAR':'none',