def test_invalid_code_challenge_method(self):
    self.prepare_data()
    suffix = '&code_challenge=abc&code_challenge_method=invalid'
    rv = self.client.get((self.authorize_url + suffix))
    self.assertIn(b'Unsupported', rv.data)
def test_invalid_code_challenge_method(self):
    self.prepare_data()
    suffix = '&code_challenge=abc&code_challenge_method=invalid'
    rv = self.client.get((self.authorize_url + suffix))
    self.assertIn(b'Unsupported', rv.data)