~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-13 18:38:58 UTC
  • mfrom: (1863 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1869.
  • Revision ID: john@arbash-meinel.com-20060713183858-ebf4aa1f9ef8bb6e
[merge] bzr.dev 1863

Show diffs side-by-side

added added

removed removed

Lines of Context:
428
428
            pb.finished()
429
429
        repo = repo_dir.open_repository()
430
430
        self.assertTrue(isinstance(target_format, repo._format.__class__))
 
431
 
 
432
 
 
433
class TestMisc(TestCase):
 
434
    
 
435
    def test_unescape_xml(self):
 
436
        """We get some kind of error when malformed entities are passed"""
 
437
        self.assertRaises(KeyError, repository._unescape_xml, 'foo&bar;')