'Test that prompt=none can\'t be used with another prompt value.'

def test_prompt_none_exclusiveness(self):

    params = {u'prompt': u'none    consent', u'state': u'abc', u'redirect_uri': u'https://a.b/cb', u'response_type': u'code', u'client_id': u'abcdef', u'scope': u'hello    openid'}
    url = (u'http://a.b/path?' + urlencode(params))
    with self.assertRaises(InvalidRequestError):
        self.endpoint.validate_authorization_request(url)
