/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/test_msgeditor.py

  • Committer: Alexander Belchenko
  • Date: 2007-11-23 17:55:37 UTC
  • mfrom: (3018 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3020.
  • Revision ID: bialix@ukr.net-20071123175537-wke5mt9hxkh92xc2
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
from bzrlib.tests import (
36
36
    probe_bad_non_ascii,
37
37
    TestCaseWithTransport,
 
38
    TestNotApplicable,
38
39
    TestSkipped,
39
40
    )
40
41
from bzrlib.trace import mutter
243
244
                                    'infotext'])
244
245
        self.assertFileEqual(expected, msgfilename)
245
246
 
 
247
    def test__create_temp_file_with_commit_template_in_unicode_dir(self):
 
248
        if hasattr(self, 'info'):
 
249
            os.mkdir(self.info['directory'])
 
250
            os.chdir(self.info['directory'])
 
251
            msgeditor._create_temp_file_with_commit_template('infotext')
 
252
        else:
 
253
            raise TestNotApplicable('Test run elsewhere with non-ascii data.')
 
254
 
246
255
    def test__create_temp_file_with_empty_commit_template(self):
247
256
        # empty file
248
257
        create_file = msgeditor._create_temp_file_with_commit_template