Stub tests for login completion.
Test for local login with a new identity and user.
Test login for a returning visitor.
Test login from a remote service. Also adds the next value to the URL, incase the service wasn't paying attention where the visitor was before they left to authenticate.
Test login from a remote service with an existing identity.
Redirect to the local service if allow-local-services setting is enabled. This also refactors the url generation for the redirect.
Tests the remote service token checking. This also remove the domain matching check, because it is far to complicated to implement in this design that will later be replaced by oauth.
Removal of broad tests that have been broken down into unittests. Natural test life cycle. :)
No longer a valid test since we are not checking the domain of the requestor matches the original authenticating service requestor.
Specify why this test is deliberately failing.
Must cast the UUID object to a string. It would be nice to provide a __json__ monkeypatch on the uuid.UUID class.