From 8a894ad04f0dd047678d49f3edd3612ccc76dde3 Mon Sep 17 00:00:00 2001 From: index-git Date: Fri, 6 Oct 2023 13:31:05 +0200 Subject: [PATCH] Make only post layer test mandatory --- .../publications/x_forwarded_prefix/rest_endpoints_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/dynamic_data/publications/x_forwarded_prefix/rest_endpoints_test.py b/tests/dynamic_data/publications/x_forwarded_prefix/rest_endpoints_test.py index 5aa21b1ee..f8836c042 100644 --- a/tests/dynamic_data/publications/x_forwarded_prefix/rest_endpoints_test.py +++ b/tests/dynamic_data/publications/x_forwarded_prefix/rest_endpoints_test.py @@ -26,7 +26,10 @@ class TestPublication(base_test.TestSingleRestPublication): publication=lambda publ_def, cls: Publication(cls.workspace, publ_def.type, None), - type=EnumTestTypes.MANDATORY, + type=EnumTestTypes.OPTIONAL, + specific_types={ + (base_test_classes.RestMethodAll.POST, PublicationTypes.LAYER): EnumTestTypes.MANDATORY + }, )] def test_publication(self, publication, rest_method):