~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/test_tree.py

  • Committer: Aaron Bentley
  • Date: 2007-08-20 14:27:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2735.
  • Revision ID: abentley@panoramicfeedback.com-20070820142740-hox5gfm6nifrkq01
Test and tweak error handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        self.assertEqual('foo', extracted['id1'])
140
140
        self.assertEqual('bar', extracted['id2'])
141
141
        self.assertEqual('baz', extracted['id3'])
 
142
        self.assertRaises(errors.NoSuchId, lambda: list(
 
143
                          tree.iter_files_bytes(
 
144
                          [('qux-id', 'file1-notpresent')])))