Mock server raises key error for validate_token

Bug #610757 reported by Michael Nelson on 2010-07-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Low
Unassigned

Bug Description

Just a minor difference between the mock server and the real one:

If validate_token is called with an unknown token, the real service returns False, whereas the mockservice raises a key error.

Michael Nelson (michael.nelson) wrote :

Hrm... I went to create a branch and fix this, but there are issues when setting up the dev environment (looks like the distribution of lazr.restful==0.9.17 is no longer where it was expected):

{{{
Downloading/unpacking lazr.restful==0.9.17 (from -r requirements.txt (line 16))
  Could not find a version that satisfies the requirement lazr.restful==0.9.17 (from -r requirements.txt (line 16)) (from versions: )
No distributions matching the version for lazr.restful==0.9.17 (from -r requirements.txt (line 16))
Storing complete log in /home/michael/.pip/pip.log
}}}

and pip.log with details: https://pastebin.canonical.com/35122/

Changed in canonical-identity-provider:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers