@@ -94,8 +94,8 @@ def test_cyc_support_from_model(cyclic_lin_rst):
9494 exp = cyc_support .expand_element_id (1 , [0 , 1 , 2 ])
9595 assert np .allclose (exp .ids , [1 , 10 , 19 ])
9696
97- cs = cyc_support .cs ()
98- assert np .allclose (cs . scoping .ids , [12 ])
97+ exp = cyc_support .cs (). scoping
98+ assert np .allclose (exp .ids , [12 ])
9999
100100
101101def test_cyc_support_from_to_operator (cyclic_lin_rst , server_type ):
@@ -187,7 +187,7 @@ def test_cyc_support_multistage(cyclic_multistage):
187187 )
188188 assert np .allclose (cyc_support .sectors_set_for_expansion (stage_num = 1 ).ids , list (range (0 , 12 )))
189189
190- high_low_map = my_cyclic_support .high_low_map ()
190+ high_low_map = my_cyclic_support .high_low_map (0 )
191191 assert np .allclose (high_low_map .get_entity_data_by_id (1446 ), 1447 )
192192 assert np .allclose (high_low_map .get_entity_data_by_id (2946 ), 2948 )
193193 assert np .allclose (high_low_map .get_entity_data_by_id (1452 ), 1466 )
@@ -198,7 +198,6 @@ def test_cyc_support_multistage(cyclic_multistage):
198198 assert np .allclose (low_high_map .get_entity_data_by_id (70 ), 56 )
199199
200200
201-
202201def test_delete_cyc_support (cyclic_lin_rst , server_type_legacy_grpc ):
203202 data_sources = dpf .DataSources (cyclic_lin_rst , server = server_type_legacy_grpc )
204203 model = dpf .Model (data_sources , server = server_type_legacy_grpc )
0 commit comments