/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-15 01:29:36 UTC
  • mfrom: (7490.40.4 work)
  • mto: (7490.40.19 work)
  • mto: This revision was merged to the branch mainline in revision 7516.
  • Revision ID: jelmer@jelmer.uk-20200615012936-1adqbu592y7lzmy8
Merge upstream.

Show diffs side-by-side

added added

removed removed

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