~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-06 03:06:37 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-20060106030637-57fb409492340ca4
Adding more inventory tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        self.assertEqual(['a', 'b', u'\u062c\u0648\u062c\u0648.txt'],
145
145
                         txt.splitlines())
146
146
 
 
147
        # inventory should fail if unable to encode
 
148
        self.bzr('inventory', encoding='ascii', retcode=3)
 
149
 
 
150
        # We don't really care about the ids themselves,
 
151
        # but the command shouldn't fail
 
152
        txt = self.bzr('inventory', '--show-ids')
 
153