Пример #1
0
 def test_mailmap_with_noname(self):
     with open(self.mailmap, 'w') as mm_fh:
         mm_fh.write("<*****@*****.**> <*****@*****.**>\n")
     self.assertEqual({'<*****@*****.**>': '<*****@*****.**>'},
                      setup.parse_mailmap(self.mailmap))
Пример #2
0
 def test_mailmap_with_noname(self):
     with open(self.mailmap, 'w') as mm_fh:
         mm_fh.write("<*****@*****.**> <*****@*****.**>\n")
     self.assertEqual({'<*****@*****.**>': '<*****@*****.**>'},
                      setup.parse_mailmap(self.mailmap))
Пример #3
0
 def test_mailmap_with_noname(self):
     with open(self.mailmap, "w") as mm_fh:
         mm_fh.write("<*****@*****.**> <*****@*****.**>\n")
     self.assertEqual({"<*****@*****.**>": "<*****@*****.**>"}, parse_mailmap(self.mailmap))