From 11df410f5f784da41b97aa1c96a7504d9bee5ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Haasser?= Date: Tue, 12 Apr 2022 11:28:52 +0200 Subject: [PATCH] Declare abstract method in abstract class --- aidants_connect_habilitation/views.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aidants_connect_habilitation/views.py b/aidants_connect_habilitation/views.py index f16ddb869..4bc7737ea 100644 --- a/aidants_connect_habilitation/views.py +++ b/aidants_connect_habilitation/views.py @@ -87,6 +87,10 @@ def setup(self, request, *args, **kwargs): class OnlyNewRequestsView(HabilitationStepMixin, LateStageRequestView): + @property + def step(self) -> HabilitationFormStep: + raise NotImplementedError() + def dispatch(self, request, *args, **kwargs): if not self.issuer.email_verified: # Duplicate logic of VerifiedEmailIssuerView