def test_display_accounts(self): ''' method that returns a list of accounts saved ''' self.assertEqual(Credentials.display_accounts(), Credentials.accounts_list)
def display_account(): ''' Function that returns all user accounts ''' return Credentials.display_accounts()