Question: Python- Can somebody help me implement a code for this unittest. def test_format_name_list(self): self.assertEqual(Mary, John (nJames, Joy , format_name_list([(John, Mary), (Joy, James)])) self.assertEqual( format_name_list())

Python- Can somebody help me implement a code for this unittest.
def test_format_name_list(self): self.assertEqual("Mary, John \ (nJames, Joy ", format_name_list([("John", "Mary"), ("Joy", "James")])) self.assertEqual(" format_name_list())
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
