@@ -164,7 +164,7 @@ def pipeline_func(pipeline_input):
164
164
165
165
@pytest .mark .usefixtures ("enable_pipeline_private_preview_features" )
166
166
def test_internal_component_output_as_pipeline_component_output (self ):
167
- yaml_path = "./tests/test_configs/internal/component_with_input_types /component_spec.yaml"
167
+ yaml_path = "./tests/test_configs/internal/component_with_input_outputs /component_spec.yaml"
168
168
component_func = load_component (yaml_path , params_override = [{"inputs" : {}}])
169
169
170
170
@pipeline ()
@@ -220,7 +220,7 @@ def pipeline_func():
220
220
assert result ._to_dict () == {"result" : "Succeeded" }
221
221
222
222
def test_gjd_internal_component_in_pipeline (self ):
223
- yaml_path = "./tests/test_configs/internal/ls_command_component.yaml" # GJD is based on CommandComponent
223
+ yaml_path = "./tests/test_configs/internal/command-component-ls/ ls_command_component.yaml" # GJD is based on CommandComponent
224
224
node_func : CommandComponent = load_component (yaml_path )
225
225
node = node_func ()
226
226
@@ -246,7 +246,7 @@ def test_gjd_internal_component_in_pipeline(self):
246
246
247
247
def test_elastic_component_in_pipeline (self ):
248
248
yaml_path = (
249
- "./tests/test_configs/internal/ls_command_component.yaml" # itp & elastic are based on CommandComponent
249
+ "./tests/test_configs/internal/command-component-ls/ ls_command_component.yaml" # itp & elastic are based on CommandComponent
250
250
)
251
251
node_func : CommandComponent = load_component (yaml_path )
252
252
node = node_func ()
@@ -303,7 +303,7 @@ def test_elastic_component_in_pipeline(self):
303
303
304
304
def test_singularity_component_in_pipeline (self ):
305
305
yaml_path = (
306
- "./tests/test_configs/internal/ls_command_component.yaml" # singularity is based on CommandComponent
306
+ "./tests/test_configs/internal/command-component-ls/ ls_command_component.yaml" # singularity is based on CommandComponent
307
307
)
308
308
node_func : CommandComponent = load_component (yaml_path )
309
309
node = node_func ()
@@ -366,7 +366,7 @@ def test_singularity_component_in_pipeline(self):
366
366
}
367
367
368
368
def test_load_pipeline_job_with_internal_components_as_node (self ):
369
- yaml_path = Path ("./tests/test_configs/internal/helloworld_component_scope.yml" )
369
+ yaml_path = Path ("./tests/test_configs/internal/helloworld/ helloworld_component_scope.yml" )
370
370
scope_internal_func = load_component (source = yaml_path )
371
371
with open (yaml_path , encoding = "utf-8" ) as yaml_file :
372
372
yaml_dict = yaml .safe_load (yaml_file )
@@ -472,7 +472,7 @@ def pipeline_func():
472
472
assert dsl_pipeline ._to_dict () == regenerated_pipeline_job ._to_dict ()
473
473
474
474
def test_components_input_output (self ):
475
- yaml_path = "./tests/test_configs/internal/component_with_input_types /component_spec.yaml"
475
+ yaml_path = "./tests/test_configs/internal/component_with_input_outputs /component_spec.yaml"
476
476
component : InternalComponent = load_component (yaml_path )
477
477
478
478
fake_input = Input (type = AssetTypes .MLTABLE , path = "azureml:scope_tsv:1" )
@@ -529,7 +529,7 @@ def pipeline_func():
529
529
assert rest_obj .properties .jobs ["node" ]["inputs" ] == expected_inputs
530
530
531
531
def test_data_binding_on_node_runsettings (self ):
532
- test_path = "./tests/test_configs/internal/helloworld_component_command.yml"
532
+ test_path = "./tests/test_configs/internal/helloworld/ helloworld_component_command.yml"
533
533
component : InternalComponent = load_component (test_path )
534
534
535
535
@pipeline ()
0 commit comments