/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 breezy/git/tests/test_mapping.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-10 23:47:24 UTC
  • mfrom: (7490.40.9 work)
  • mto: This revision was merged to the branch mainline in revision 7511.
  • Revision ID: jelmer@jelmer.uk-20200610234724-dk8940wc16l6lihf
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
441
441
                         fix_person_identifier(b"bar@blah.nl"))
442
442
 
443
443
    def test_fix(self):
444
 
        self.assertEqual(b"person <bar@blah.nl>",
445
 
                         fix_person_identifier(b"somebody <person <bar@blah.nl>>"))
446
 
        self.assertEqual(b"person <bar@blah.nl>",
447
 
                         fix_person_identifier(b"person<bar@blah.nl>"))
 
444
        self.assertEqual(
 
445
            b"person <bar@blah.nl>",
 
446
            fix_person_identifier(b"somebody <person <bar@blah.nl>>"))
 
447
        self.assertEqual(
 
448
            b"person <bar@blah.nl>",
 
449
            fix_person_identifier(b"person<bar@blah.nl>"))
 
450
        self.assertEqual(
 
451
            b'Rohan Garg <rohangarg@kubuntu.org>',
 
452
            fix_person_identifier(b'Rohan Garg <rohangarg@kubuntu.org'))
448
453
        self.assertRaises(ValueError,
449
454
                          fix_person_identifier, b"person >bar@blah.nl<")