def display_accounts_credentials(): """ Function that returns all the saved credential. """ return Credential.display_credentials()
def test_display_credential(self): ''' method that displays all the credentials that has been saved by the user ''' self.assertEqual(Credential.display_credentials(), Credential.credential_list)