~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 06:33:52 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-20060106063352-351ac0ed8f39c4e7
Updating 'bzr file-id' exposed that we weren't allowing unicode file ids. Enabling them reveals a lot more bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
        fname = _juju + '.txt'
288
288
        txt = bzr('remove', '--verbose', fname, encoding='ascii')
289
289
 
 
290
    def test_file_id(self):
 
291
        bzr = self.run_bzr_decode
 
292
 
 
293
        fname = _juju + '.txt'
 
294
        txt = bzr('file-id', fname)
 
295
 
 
296
        raise TestSkipped("We don't support unicode file ids yet")
 
297
        txt = bzr('file-id', fname, encoding='ascii')
 
298
 
 
299
        self.failUnless(txt.startswith(fname))
 
300