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

  • Committer: Aaron Bentley
  • Date: 2007-12-19 06:04:19 UTC
  • mfrom: (3127 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3128.
  • Revision ID: aaron.bentley@utoronto.ca-20071219060419-afwva4q14cjlzfta
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
496
496
        self.run_bzr_decode(['info', self.info['directory']])
497
497
        self.run_bzr_decode(['info', self.info['directory']],
498
498
                            encoding='ascii')
 
499
 
 
500
    def test_ignored(self):
 
501
        fname = self.info['filename'] + '1.txt'
 
502
        self.build_tree_contents([(fname, 'ignored\n')])
 
503
        self.run_bzr(['ignore', fname])
 
504
        txt = self.run_bzr_decode(['ignored'])
 
505
        self.assertEqual(txt, '%-50s %s\n' % (fname, fname))
 
506
        txt = self.run_bzr_decode(['ignored'], encoding='ascii')
 
507
        fname = fname.encode('ascii', 'replace')
 
508
        self.assertEqual(txt, '%-50s %s\n' % (fname, fname))