def test_remove_users_success(self): test_room = Room(None, None) for test_user in USERS: test_room.add_user(test_user) test_room.remove_user(USERS[0]) self.assertFalse(test_room.has_user(USERS[0]))
def test_remove_users_fail(self): test_room = Room(None, None) test_room.add_user(USERS[0]) test_room.remove_user(USERS[1]) self.assertFalse(test_room.has_user(USERS[1]))