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

  • Committer: Martin Pool
  • Date: 2010-04-16 07:56:51 UTC
  • mfrom: (5160 +trunk)
  • mto: (5050.3.4 2.2)
  • mto: This revision was merged to the branch mainline in revision 5173.
  • Revision ID: mbp@sourcefrog.net-20100416075651-bf23hr9hlof64gpj
merge trunk to 2.2 preparing for 2.2b2

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        self.assertEqual(['test/' + fname.encode('utf8')],
86
86
                         sorted(ball.getnames()))
87
87
 
 
88
    def test_tar_export_unicode_basedir(self):
 
89
        """Test for bug #413406"""
 
90
        basedir = u'\N{euro sign}'
 
91
        os.mkdir(basedir)
 
92
        os.chdir(basedir)
 
93
        self.run_bzr(['init', 'branch'])
 
94
        os.chdir('branch')
 
95
        self.run_bzr(['export', '--format', 'tgz', u'test.tar.gz'])
 
96
 
88
97
    def test_zip_export(self):
89
98
        tree = self.make_branch_and_tree('zip')
90
99
        self.build_tree(['zip/a'])