~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

  • Committer: John Arbash Meinel
  • Date: 2006-12-01 19:41:16 UTC
  • mfrom: (2158 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2159.
  • Revision ID: john@arbash-meinel.com-20061201194116-nvn5qhfxux5284jc
[merge] bzr.dev 2158

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')