

def do_start(self):
    start_url = self.strategy.build_absolute_uri(self.backend.start().url)
    HTTPretty.register_uri(HTTPretty.GET, start_url, status=200, body=self.form.format(self.complete_url))
    HTTPretty.register_uri(HTTPretty.POST, self.complete_url, status=200, body=self.response_body, content_type='application/x-www-form-urlencoded')
    response = requests.get(start_url)
    self.assertEqual(response.text, self.form.format(self.complete_url))
    response = requests.post(self.complete_url, data=parse_qs(self.response_body))
    self.strategy.set_request_data(parse_qs(self.text), self.backend)
    return self.backend.complete()

dataset/ETHPy150Open omab/python-social-auth/social/tests/backends/legacy.py BaseLegacyTest.do_start/VarMisuse@141/187 `response`->`self`