'Asserts the redirect to the provider\'s site looks correct.
When we hit /auth/login/<provider>, we should be redirected to the
provider\'s site. Here we check that we\'re redirected, but we don\'t know
enough about the provider to check what we\'re redirected to. Child test
implementations may optionally strengthen this assertion with, for
example, more details about the format of the Location header.'

def assert_redirect_to_provider_looks_correct(self, response):

    self.assertEqual(302, response.status_code)
    self.assertTrue(response.has_header('Location'))
