def test_user_login_too_long_username(self):
        response = self.client.post(reverse('user_login_api'), {'app_key': self.api_key,
                                                                'username': 'a' * 40,
                                                                'password': 'somepassword'})