Merge lp:~canonical-isd-hackers/canonical-identity-provider/fix-api-email-error into lp:canonical-identity-provider/release
Proposed by
Łukasz Czyżykowski
Status: | Merged |
---|---|
Approved by: | Stuart Metcalfe |
Approved revision: | no longer in the source branch. |
Merged at revision: | 80 |
Proposed branch: | lp:~canonical-isd-hackers/canonical-identity-provider/fix-api-email-error |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
53 lines (+26/-1) 2 files modified
identityprovider/tests/test_models_api.py (+25/-0) identityprovider/webservice/models.py (+1/-1) |
To merge this branch: | bzr merge lp:~canonical-isd-hackers/canonical-identity-provider/fix-api-email-error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Metcalfe (community) | Approve | ||
Review via email: mp+36307@code.launchpad.net |
Commit message
Fixed inconsistency for API error returned when email is already registered.
Description of the change
This branch fixes inconsistency for "email already registered" error not being returned in the list (as all other are).
With fix there's test case to check that behaviour.
Because that particular error is not showed in doctest there's no need to update them.
To post a comment you must log in.
Looks good to me