def display_accounts(): ''' Function that displays the accounts ''' return User.display_accounts()
def test_display_accounts(self): ''' Test case to test whether the accounts can be displayed ''' self.assertEqual(User.display_accounts(), User.user_list)