~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-01-07 16:32:21 UTC
  • mto: (1685.1.1 bzr-encoding)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060107163221-8e5aee35f0df9402
Updated cmd_unknowns

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
        txt = bzr('ls', encoding='ascii', retcode=3)
437
437
        txt = bzr('ls', '--null', encoding='ascii', retcode=3)
438
438
 
 
439
    def test_unknowns(self):
 
440
        bzr = self.run_bzr_decode
 
441
 
 
442
        fname = self.juju + '2.txt'
 
443
        open(fname, 'wb').write('unknown\n')
 
444
 
 
445
        txt = bzr('unknowns')
 
446
        self.assertEqual(u'"%s"\n' % (fname,), txt)
 
447
 
 
448
        bzr('unknowns', encoding='ascii', retcode=3)
 
449
 
439
450