/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004-2006 by Canonical Ltd
 
1
# Copyright (C) 2004, 2005, 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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')