def test_check_display_users(self):
     '''
     test to check if all users in user_list are displayed
     '''
     self.new_user.save_user()
     test_user = Users(2, "Mbugua", "gitu", 467587)
     test_user.save_user()
     self.assertEqual(Users.display_users(), Users.user_list)
Beispiel #2
0
def display_all_users():
    return Users.display_users()