Skip to content

Commit

Permalink
Check version in test
Browse files Browse the repository at this point in the history
  • Loading branch information
janvonrickenbach committed Nov 20, 2023
1 parent 9465380 commit ed2550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/composite_model_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ed2550c

Please sign in to comment.