'Mock logging in to the Dummy provider'

def do_provider_login(self, provider_redirect_url):

    self.assertEqual(provider_redirect_url, (self.url_prefix + self.complete_url))
    return self.client.get(provider_redirect_url)
