'Test login with a bad username.'

def test_login_bad_username(self):

    response = post(self.client, 'users.login', {'username': 'foobarbizbin', 'password': 'testpass'})
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_('Please    enter    a    correct    username    and    password.    Note    that    both    fields    are    case-sensitive.', doc('ul.errorlist    li').text())
