~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2009-12-10 17:16:19 UTC
  • mfrom: (4884 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4889.
  • Revision ID: john@arbash-meinel.com-20091210171619-ehdcxjbl8afhq9g1
Bring in bzr.dev 4884

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