File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,18 @@ def check_on_property_field_from_simplebar(prop_field):
103103 assert prop_field .data is not None
104104 assert len (prop_field .data ) != 0
105105 assert len (prop_field .data ) == 1400
106- assert prop_field .data [15 ] == 29
107- assert np .allclose (prop_field .data [12 ], 10 )
108- assert prop_field .data [1201 ] == 2500
109- assert prop_field .get_entity_data (8 ) == [7 ]
110- assert prop_field .get_entity_data_by_id (23 ) == [60 ]
106+ if conftest .SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_1 :
107+ assert prop_field .data [15 ] == 1502
108+ assert np .allclose (prop_field .data [12 ], 1603 )
109+ assert prop_field .data [1201 ] == 1980
110+ assert prop_field .get_entity_data (8 ) == [1605 ]
111+ assert prop_field .get_entity_data_by_id (23 ) == [1707 ]
112+ else :
113+ assert prop_field .data [15 ] == 29
114+ assert np .allclose (prop_field .data [12 ], 10 )
115+ assert prop_field .data [1201 ] == 2500
116+ assert prop_field .get_entity_data (8 ) == [7 ]
117+ assert prop_field .get_entity_data_by_id (23 ) == [60 ]
111118 assert prop_field .elementary_data_count == 1400
112119 assert prop_field .elementary_data_shape == 1
113120 assert prop_field .location == locations .elemental
You can’t perform that action at this time.
0 commit comments