e2e: add tests for OAuth Source, update tests for new base templates

This commit is contained in:
Jens Langhammer
2020-07-09 00:41:14 +02:00
parent 3450b8f1fe
commit 64c47a59f8
8 changed files with 273 additions and 501 deletions

View File

@ -27,6 +27,7 @@ class PolicyAccessMixin(BaseMixin, AccessMixin):
def handle_no_permission_authorized(self) -> HttpResponse:
"""Function called when user has no permissions but is authorized"""
# TODO: Remove this URL and render the view instead
return redirect("passbook_flows:denied")
def provider_to_application(self, provider: Provider) -> Application: