def test_chair(self):
        user = TestUsers.new_user(user_type=User.TYPE_CHAIR,
                                  committee_id=4)
        self.client.login(username='testuser', password='test')
        response = self.get_response(user.id)

        self.assertEqual(response.data, {
            'id': user.id,
            'username': user.username,
            'first_name': user.first_name,
            'last_name': user.last_name,
            'user_type': user.user_type,
            'school': user.school_id,
            'committee': user.committee_id})
Wraps an iterable calling an errback if an error is caught while
dataset/ETHPy150Open bmun/huxley/huxley/api/tests/test_user.py/UserDetailGetTestCase.test_chair--crossover with--dataset/ETHPy150Open wcong/ants/ants/utils/defer.py/iter_errback