diff --git a/tests/composite_model_test.py b/tests/composite_model_test.py index c59fab1f7..296598c9f 100644 --- a/tests/composite_model_test.py +++ b/tests/composite_model_test.py @@ -140,10 +140,10 @@ def check_field_size(failure_label: FailureOutput): assert len(field.scoping.ids) == 4 check_field_size(FailureOutput.FAILURE_MODE) - check_field_size(FailureOutput.FAILURE_MODE_REF_SURFACE) check_field_size(FailureOutput.MAX_LAYER_INDEX) if version_equal_or_later(dpf_server, "7.1"): + check_field_size(FailureOutput.FAILURE_MODE_REF_SURFACE) check_field_size(FailureOutput.MAX_GLOBAL_LAYER_IN_STACK) check_field_size(FailureOutput.MAX_LOCAL_LAYER_IN_ELEMENT) check_field_size(FailureOutput.MAX_SOLID_ELEMENT_ID)