~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2011-08-12 09:49:24 UTC
  • mfrom: (6015.9.10 2.4)
  • mto: This revision was merged to the branch mainline in revision 6066.
  • Revision ID: v.ladeuil+lp@free.fr-20110812094924-knc5s0g7vs31a2f1
Merge 2.4 into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    probe_bad_non_ascii,
37
37
    test_foreign,
38
38
    TestSkipped,
39
 
    UnicodeFilenameFeature,
 
39
    features,
40
40
    )
41
41
from bzrlib.tests import TestCaseWithTransport
42
42
 
138
138
    def test_unicode_commit_message_is_filename(self):
139
139
        """Unicode commit message same as a filename (Bug #563646).
140
140
        """
141
 
        self.requireFeature(UnicodeFilenameFeature)
 
141
        self.requireFeature(features.UnicodeFilenameFeature)
142
142
        file_name = u'\N{euro sign}'
143
143
        self.run_bzr(['init'])
144
144
        open(file_name, 'w').write('hello world')