/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_osutils_encodings.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import locale
21
21
import sys
22
22
 
23
 
from bzrlib import (
 
23
from breezy import (
24
24
    osutils,
25
25
    )
26
 
from bzrlib.tests import (
 
26
from breezy.tests import (
27
27
        StringIOWrapper,
28
28
        TestCase,
29
29
        )
158
158
        self.assertEqual('latin-1', osutils.get_terminal_encoding())
159
159
 
160
160
        # check stderr
161
 
        self.assertEqual('bzr: warning: unknown terminal encoding cp-unknown.\n'
 
161
        self.assertEqual('brz: warning: unknown terminal encoding cp-unknown.\n'
162
162
                          '  Using encoding latin-1 instead.\n',
163
163
                          sys.stderr.getvalue())
164
164
 
191
191
    def test_user_cp_unknown(self):
192
192
        self._encoding = 'cp-unknown'
193
193
        self.assertEqual('ascii', osutils.get_user_encoding())
194
 
        self.assertEqual('bzr: warning: unknown encoding cp-unknown.'
 
194
        self.assertEqual('brz: warning: unknown encoding cp-unknown.'
195
195
                          ' Continuing with ascii encoding.\n',
196
196
                          sys.stderr.getvalue())
197
197