Invoke session middleware correctly.
Review Request #11977 — Created Jan. 22, 2022 and submitted — Latest diff uploaded
For a while, middleware was allowed to be invoked in the old way
(instantiate with no arguments and then callprocess_request
). This is
going away, and we'll need to instantiate with aget_response
callable
and go through the new-style chain. This change updates our tests which
manually invoke middleware to do that.
Ran unit tests.
djblets/auth/tests/test_util.py |
---|
djblets/privacy/tests/test_consent_config_page_form_mixin.py |
---|
djblets/webapi/tests/test_api_auth_backend.py |
---|
djblets/webapi/tests/test_basic_auth_backend.py |
---|