'Tests if can handle a long user agent'

def test_long_user_agent_valid(self):

    long_user_agent = ('ie6' * 1024)
    response = self._login(is_valid_username=True, is_valid_password=True, user_agent=long_user_agent)
    self.assertNotContains(response, self.LOGIN_FORM_KEY, status_code=302)
