~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_commit.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:
33
33
from bzrlib.tests import (
34
34
    probe_bad_non_ascii,
35
35
    TestSkipped,
 
36
    UnicodeFilenameFeature,
36
37
    )
37
38
from bzrlib.tests import TestCaseWithTransport
38
39
 
112
113
    def test_unicode_commit_message_is_filename(self):
113
114
        """Unicode commit message same as a filename (Bug #563646).
114
115
        """
 
116
        self.requireFeature(UnicodeFilenameFeature)
115
117
        file_name = u'\N{euro sign}'
116
118
        self.run_bzr(['init'])
117
119
        open(file_name, 'w').write('hello world')