~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2011-06-14 01:26:41 UTC
  • mto: (6034.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 6043.
  • Revision ID: mbp@canonical.com-20110614012641-dnb69zb57ae5je4w
Move all test features into bzrlib.tests.features

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')