/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 02:08:52 UTC
  • mfrom: (7510.1.3 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200611020852-jdb9d037vj6shvyj
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/385542

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<")