~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

Merge repository-format-deprecation branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
        self.assertTrue(isinstance(target_format, repo._format.__class__))
467
467
 
468
468
 
469
 
class TestMisc(TestCase):
470
 
 
471
 
    def test_unescape_xml(self):
472
 
        """We get some kind of error when malformed entities are passed"""
473
 
        self.assertRaises(KeyError, repository._unescape_xml, 'foo&bar;')
474
 
 
475
 
 
476
469
class TestRepositoryFormatKnit3(TestCaseWithTransport):
477
470
 
478
471
    def test_attribute__fetch_order(self):