diff --git a/aidants_connect_habilitation/tests/test_functionnal/test_organisation_form.py b/aidants_connect_habilitation/tests/test_functionnal/test_organisation_form.py index b4c1bce54..78542b8aa 100644 --- a/aidants_connect_habilitation/tests/test_functionnal/test_organisation_form.py +++ b/aidants_connect_habilitation/tests/test_functionnal/test_organisation_form.py @@ -25,7 +25,6 @@ def test_form_normal_organisation_with_fs_label(self): issuer: Issuer = IssuerFactory() request: OrganisationRequest = OrganisationRequestFactory.build( type_id=RequestOriginConstants.MEDIATHEQUE.value, - public_service_delegation_attestation=False, france_services_number=444888555, ) self.__open_form_url(issuer) @@ -69,7 +68,6 @@ def test_form_other_type_and_private_organisation(self): issuer: Issuer = IssuerFactory() request: OrganisationRequest = OrganisationRequestFactory.build( type_id=RequestOriginConstants.OTHER.value, - public_service_delegation_attestation=False, partner_administration="Beta.Gouv", ) self.__open_form_url(issuer) @@ -161,7 +159,6 @@ def test_submit_both_known_organisation_type_and_other_type(self): issuer: Issuer = IssuerFactory() request: OrganisationRequest = OrganisationRequestFactory.build( type_id=RequestOriginConstants.MEDIATHEQUE.value, - public_service_delegation_attestation=False, ) self.__open_form_url(issuer) diff --git a/aidants_connect_habilitation/tests/test_views.py b/aidants_connect_habilitation/tests/test_views.py index cf4486761..50b5e1da2 100644 --- a/aidants_connect_habilitation/tests/test_views.py +++ b/aidants_connect_habilitation/tests/test_views.py @@ -419,7 +419,6 @@ def test_404_on_bad_issuer_id(self): self.assertEqual(response.status_code, 404) cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" response: HttpResponse = self.client.post( reverse(self.pattern_name, kwargs={"issuer_id": uuid}), cleaned_data ) @@ -510,7 +509,6 @@ def test_404_on_bad_issuer_id(self): uuid = uuid4() cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" response = self.client.post( self.get_url(self.organisation.issuer.issuer_id, uuid), cleaned_data, @@ -522,7 +520,6 @@ def test_404_on_bad_uuid(self): self.assertEqual(response.status_code, 404) cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" cleaned_data["type"] = cleaned_data["type"].id response = self.client.post( @@ -636,7 +633,6 @@ def test_404_on_bad_issuer_id(self): uuid = uuid4() cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" response = self.client.post( self.get_url(self.organisation.issuer.issuer_id, uuid), cleaned_data, @@ -652,7 +648,6 @@ def test_404_on_unrelated_issuer_id(self): self.assertEqual(response.status_code, 404) cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" response = self.client.post( self.get_url(unrelated_issuer.issuer_id, self.organisation.uuid), cleaned_data, @@ -666,7 +661,6 @@ def test_404_on_bad_uuid(self): self.assertEqual(response.status_code, 404) cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" cleaned_data["type"] = cleaned_data["type"].id response = self.client.post( @@ -776,7 +770,6 @@ def test_404_on_bad_issuer_id(self): uuid = uuid4() cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" response = self.client.post( self.get_url(organisation.issuer.issuer_id, uuid), cleaned_data, @@ -790,7 +783,6 @@ def test_404_on_bad_uuid(self): self.assertEqual(response.status_code, 404) cleaned_data = utils.get_form(OrganisationRequestForm).clean() - cleaned_data["public_service_delegation_attestation"] = "" cleaned_data["type"] = cleaned_data["type"].id response = self.client.post(