/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 bzrlib/tests/blackbox/test_alias.py

  • Committer: Andrew Bennetts
  • Date: 2010-09-23 02:56:19 UTC
  • mto: (5050.17.24 2.2)
  • mto: This revision was merged to the branch mainline in revision 5440.
  • Revision ID: andrew.bennetts@canonical.com-20100923025619-ibt7rqynp0ig6653
Some fixes for tests that did not cope with LANG=C.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#
17
17
 
18
18
"""Tests of the 'bzr alias' command."""
19
 
import os
20
19
import codecs
21
20
 
22
 
from bzrlib.tests import TestCaseWithTransport
 
21
from bzrlib.tests import TestCaseWithTransport, UnicodeFilenameFeature
23
22
from bzrlib.config import (ensure_config_dir_exists, config_filename)
24
23
 
25
24
 
46
45
 
47
46
    def test_unicode_alias(self):
48
47
        """Unicode aliases should work (Bug #529930)"""
 
48
        # XXX: strictly speaking, lack of unicode filenames doesn't imply that
 
49
        # unicode command lines aren't available.
 
50
        self.requireFeature(UnicodeFilenameFeature)
49
51
        config_enc = 'utf-8'
50
52
        file_name = u'foo\xb6'
51
53