From e7b761dc67ac857707fee8f5dacebe3e43853f9b Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Mon, 6 May 2024 16:58:59 +0200 Subject: [PATCH] Update API tests --- backend/app_tests/api/test_api_compliance_assessments.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/app_tests/api/test_api_compliance_assessments.py b/backend/app_tests/api/test_api_compliance_assessments.py index 29982009c..406fb46b3 100644 --- a/backend/app_tests/api/test_api_compliance_assessments.py +++ b/backend/app_tests/api/test_api_compliance_assessments.py @@ -124,6 +124,7 @@ def test_get_compliance_assessments(self, test): "framework": { "id": str(Framework.objects.all()[0].id), "str": str(Framework.objects.all()[0]), + "implementation_groups_definition": None, "min_score": 1, "max_score": 4, }, @@ -157,6 +158,7 @@ def test_create_compliance_assessments(self, test): "framework": { "id": str(Framework.objects.all()[0].id), "str": str(Framework.objects.all()[0]), + "implementation_groups_definition": None, "min_score": Framework.objects.all()[0].min_score, "max_score": Framework.objects.all()[0].max_score, }, @@ -202,6 +204,7 @@ def test_update_compliance_assessments(self, test): "framework": { "id": str(Framework.objects.all()[0].id), "str": str(Framework.objects.all()[0]), + "implementation_groups_definition": None, "min_score": Framework.objects.all()[0].min_score, "max_score": Framework.objects.all()[0].max_score, },