def display_contacts(): ''' function that returns all the saved contacts ''' return Contact.display_all_contacts()
def test_display_all_contacts(self): ''' method that returns a list of all contacts saved ''' self.assertEqual(Contact.display_all_contacts(), Contact.contact_list)