/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: Robert Collins
  • Date: 2006-08-08 23:19:29 UTC
  • mfrom: (1884 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1912.
  • Revision ID: robertc@robertcollins.net-20060808231929-4e3e298190214b3a
current status

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
also see this file.
23
23
"""
24
24
 
25
 
from stat import *
 
25
from stat import S_ISDIR
26
26
from StringIO import StringIO
27
27
 
28
28
import bzrlib
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;')