def test_split_references(): refs = " <*****@*****.**>\n\t<[email protected]>" split = parse.split_references(refs) assert len(split) == 2, split
def test_split_references(self): refs = " <*****@*****.**>\n\t<[email protected]>" split = parse.split_references(refs) self.assertTrue(len(split) == 2, msg=split)