def test_bad_first_user(self):
    self.reset.append( conf.AUTH.BACKEND.set_for_testing(["desktop.auth.backend.AllowFirstUserDjangoBackend"]) )

    response = self.c.get('/accounts/login/')
    assert_equal(200, response.status_code, "Expected ok status.")
    assert_true(response.context['first_login_ever'])

    response = self.c.post('/accounts/login/', dict(username="foo 1", password="foo"))
    assert_equal(200, response.status_code, "Expected ok status.")
    assert_true(response.content in 'This value may contain only letters, numbers and @/./+/-/_ characters.', response)
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/auth/views_test.py/TestLogin.test_bad_first_user/swapped operands of `in`