-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply Python 3 changes to grid_openid allowing test instantiation. #106
Conversation
7a2fce1
to
e781a7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but it requires thorough actual battle testing before roll-out.
Added the OpenID Connect milestone because unit test coverage of the old OpenID 2.0 service is important in the development of the replacement. |
Thanks - that was definitely the reason to do this, and I remember mentionig directly, but doing this predated the tracking issue hence not being listed there already. No time like the present to start and appreciate your adding it. |
4a54200
to
e9516e6
Compare
4cc3bb9
to
68f7a7c
Compare
68f7a7c
to
8c65420
Compare
Make use of a need to cover the basic operation of this code for some minimal changes that allow the server it implements to be trivial to instantiate directly as an object. Use this ability to do so under test and add the necessary wiring to issue a single top-level request from the server and validate it responds with no internal issues logged. Note that a top-level request was not previously succeedding due to certain values being errantly dereferenced (though the code was clearly written to have been safe under these circumstances). Fix this here. --- align requirements with extant reality ensure server is closed between tests and validate with a status 404 case pull the test synchronisation up a level thus out of the server logic ensure the server is fully managed inside test case arranged thread improve naming make the class configurable an extend documentation inline escape_hmtl fixup fixup fixup fixup remove unnecessary version swizzle make use of the same Py3 compatible openid library as rocky 9 fixup
8c65420
to
a45e92a
Compare
Make use of a need to cover the basic operation of this code for some
minimal changes that allow the server it implements to be trivial to
instantiate directly as an object. Use this ability to do so under test
and add the necessary wiring to issue a single top-level request from
the server and validate it responds with no internal issues logged.
Note that a top-level request was not previously succeeding due to
certain values being errantly dereferenced (though the code was clearly
written to have been safe under these circumstances). Fix this here.