@@ -359,7 +359,7 @@ def test_output_mesh_workflow(cyclic_lin_rst, cyclic_ds, server_type):
359
359
== meshed_region .elements .connectivities_field .size
360
360
)
361
361
362
- fields = wf .get_output ("fields" , dpf .core .types .fields_container )
362
+ wf .get_output ("fields" , dpf .core .types .fields_container )
363
363
364
364
365
365
def test_outputs_bool_workflow (server_type ):
@@ -583,14 +583,14 @@ def test_transfer_owner_workflow(allkindofcomplexity, server_type):
583
583
wf .connect ("prop" , "elshape" )
584
584
wf .set_output_name ("scopings" , op , 0 )
585
585
id = wf .record (transfer_ownership = True )
586
- wf_copy = dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
586
+ dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
587
587
588
588
with pytest .raises (Exception ):
589
- wf_copy = dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
589
+ dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
590
590
591
591
id = wf .record (transfer_ownership = False )
592
- wf_copy = dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
593
- wf_copy = dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
592
+ dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
593
+ dpf .core .Workflow .get_recorded_workflow (id , server = server_type )
594
594
595
595
596
596
@conftest .raises_for_servers_version_under ("3.0" )
@@ -618,8 +618,8 @@ def test_connect_with_workflow(cyclic_lin_rst, cyclic_ds, server_type):
618
618
wf2 .set_output_name ("u" , op , 0 )
619
619
620
620
wf2 .connect_with (wf )
621
- meshed_region = wf2 .get_output ("mesh_expand" , dpf .core .types .meshed_region )
622
- fc = wf2 .get_output ("u" , dpf .core .types .fields_container )
621
+ wf2 .get_output ("mesh_expand" , dpf .core .types .meshed_region )
622
+ wf2 .get_output ("u" , dpf .core .types .fields_container )
623
623
624
624
625
625
@conftest .raises_for_servers_version_under ("3.0" )
@@ -647,8 +647,8 @@ def test_connect_with_2_workflow(cyclic_lin_rst, cyclic_ds, server_type):
647
647
wf2 .set_output_name ("u" , op , 0 )
648
648
649
649
wf2 .connect_with (wf , ("support1" , "support2" ))
650
- meshed_region = wf2 .get_output ("mesh_expand" , dpf .core .types .meshed_region )
651
- fc = wf2 .get_output ("u" , dpf .core .types .fields_container )
650
+ wf2 .get_output ("mesh_expand" , dpf .core .types .meshed_region )
651
+ wf2 .get_output ("u" , dpf .core .types .fields_container )
652
652
653
653
654
654
@conftest .raises_for_servers_version_under ("3.0" )
@@ -676,8 +676,8 @@ def test_connect_with_dict_workflow(cyclic_lin_rst, cyclic_ds, server_type):
676
676
wf2 .set_output_name ("u" , op , 0 )
677
677
678
678
wf2 .connect_with (wf , {"support1" : "support2" })
679
- meshed_region = wf2 .get_output ("mesh_expand" , dpf .core .types .meshed_region )
680
- fc = wf2 .get_output ("u" , dpf .core .types .fields_container )
679
+ wf2 .get_output ("mesh_expand" , dpf .core .types .meshed_region )
680
+ wf2 .get_output ("u" , dpf .core .types .fields_container )
681
681
682
682
683
683
@pytest .mark .xfail (raises = dpf .core .errors .ServerTypeError )
@@ -934,18 +934,6 @@ def test_connect_get_output_big_strings(server_type, server_in_process):
934
934
assert np .allclose (out .data , data )
935
935
936
936
937
- @pytest .mark .skipif (
938
- not conftest .SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0 , reason = "Available for servers >=8.0"
939
- )
940
- def test_connect_get_output_big_strings (server_type , server_type_remote_process ):
941
- data = np .random .random (100000 )
942
- field_a = dpf .core .field_from_array (data , server = server_type )
943
- assert np .allclose (field_a .data , data )
944
-
945
- out = deep_copy_using_workflow (field_a , server_type_remote_process )
946
- assert np .allclose (out .data , data )
947
-
948
-
949
937
@conftest .raises_for_servers_version_under ("8.0" )
950
938
def test_connect_get_non_ascii_string (server_type ):
951
939
str = "\N{GREEK CAPITAL LETTER DELTA} "
0 commit comments