@@ -42,14 +42,19 @@ def file_hierarchy_simple():
4242 }
4343
4444
45- @pytest .fixture (params = entry_point .get_entry_point_names ('aiida.transports' ))
46- def node_and_calc_info (aiida_localhost , aiida_computer_ssh , aiida_code_installed , request ):
45+ @pytest .fixture (
46+ scope = 'function' ,
47+ params = [name for name in entry_point .get_entry_point_names ('aiida.transports' ) if name .startswith ('core.' )],
48+ )
49+ def node_and_calc_info (aiida_localhost , aiida_computer_ssh , aiida_computer_ssh_async , aiida_code_installed , request ):
4750 """Return a ``CalcJobNode`` and associated ``CalcInfo`` instance."""
4851
4952 if request .param == 'core.local' :
5053 node = CalcJobNode (computer = aiida_localhost )
5154 elif request .param == 'core.ssh' :
5255 node = CalcJobNode (computer = aiida_computer_ssh ())
56+ elif request .param == 'core.ssh_async' :
57+ node = CalcJobNode (computer = aiida_computer_ssh_async ())
5358 else :
5459 raise ValueError (f'unsupported transport: { request .param } ' )
5560
@@ -378,6 +383,7 @@ def test_upload_file_copy_operation_order(node_and_calc_info, tmp_path, order, e
378383 ),
379384 # Only remote copy of a single file to the "pseudo" directory
380385 # -> Copy fails silently since target directory does not exist: final directory structure is empty
386+ # COUNTER-INTUITIVE: the silent behavior is expected. See `execmanager.py`::_copy_remote_files for more details
381387 (
382388 {},
383389 (),
@@ -386,6 +392,7 @@ def test_upload_file_copy_operation_order(node_and_calc_info, tmp_path, order, e
386392 None ,
387393 ),
388394 # -> Copy fails silently since target directory does not exist: final directory structure is empty
395+ # COUNTER-INTUITIVE: the silent behavior is expected. See `execmanager.py`::_copy_remote_files for more details
389396 (
390397 {},
391398 (),
0 commit comments