~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-11-03 02:35:48 UTC
  • mfrom: (2067.3.7 cleanup-errors)
  • Revision ID: pqm@pqm.ubuntu.com-20061103023548-12e702bb911c4be2
(mbp) deprecate BzrNewError, change to using .internal_error on exceptions, etc

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
        format.repository_format = repository.RepositoryFormatKnit2()
317
317
        serializer = BundleSerializerV08('0.8')
318
318
        b = self.make_branch('.', format=format)
319
 
        self.assertRaises(errors.IncompatibleFormat, serializer.write, 
 
319
        self.assertRaises(errors.IncompatibleBundleFormat, serializer.write, 
320
320
                          b.repository, [], {}, StringIO())
321
321
 
322
322
    def test_matched_bundle(self):
323
 
        """Don't raise IncompatibleFormat for knit2 and bundle0.9"""
 
323
        """Don't raise IncompatibleBundleFormat for knit2 and bundle0.9"""
324
324
        format = bzrdir.BzrDirMetaFormat1()
325
325
        format.repository_format = repository.RepositoryFormatKnit2()
326
326
        serializer = BundleSerializerV09('0.9')