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))
def test_mailmap_with_noname(self): with open(self.mailmap, "w") as mm_fh: mm_fh.write("<*****@*****.**> <*****@*****.**>\n") self.assertEqual({"<*****@*****.**>": "<*****@*****.**>"}, parse_mailmap(self.mailmap))