'Test that the dialog doesn\'t show up for hinted logins when disabled.'

def test_hinted_login_dialog_disabled(self):

    self.google_provider.skip_hinted_login_dialog = True
    self.google_provider.save()
    params = [('next', '/courses/something/?tpa_hint=oa2-google-oauth2')]
    response = self.client.get(reverse('signin_user'), params, HTTP_ACCEPT='text/html')
    self.assertRedirects(response, 'auth/login/google-oauth2/?auth_entry=login&next=%2Fcourses%2Fsomething%2F%3Ftpa_hint%3Doa2-google-oauth2', target_status_code=302)
