/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_repository.py

  • Committer: Jan Balster
  • Date: 2006-08-15 12:39:42 UTC
  • mfrom: (1923 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1928.
  • Revision ID: jan@merlinux.de-20060815123942-22c388c6e9a8ac91
merge bzr.dev 1923

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