def test_non_jframe_login(self):
    client = make_logged_in_client(username=self.test_username, password="test")
    # Logout first
    client.get('/accounts/logout')
    # Login
    response = client.post('/accounts/login/', dict(username=self.test_username, password="test"), follow=True)
    assert_true(any([_template.filename in "admin_wizard.mako" for _template in response.templates]), response.content) # Go to superuser wizard
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/auth/views_test.py/TestLogin.test_non_jframe_login/swapped operands of `in`