# cwl_utils.tests.test_etools_to_clt

Test the CWL Expression refactoring tool.

## Functions

`test_v1_0_workflow_top_level_format_expr`() | Test for the correct error when converting a format expression in a workflow level input.
`test_v1_0_workflow_top_level_sf_expr`() | Test for the correct error when converting a secondaryFiles expression in a workflow level input.
`test_v1_0_workflow_top_level_sf_expr_array`() | Test correct error when converting a secondaryFiles expression (array form) in a workflow level input.
`test_v1_1_workflow_top_level_format_expr`() | Test for the correct error when converting a format expression in a workflow level input.
`test_v1_1_workflow_top_level_sf_expr`() | Test for the correct error when converting a secondaryFiles expression in a workflow level input.
`test_v1_1_workflow_top_level_sf_expr_array`() | Test for the correct error when converting a secondaryFiles expression (array form) in a workflow level input.
`test_v1_2_workflow_top_level_format_expr`() | Test for the correct error when converting a format expression in a workflow level input.
`test_v1_2_workflow_top_level_sf_expr`() | Test for the correct error when converting a secondaryFiles expression in a workflow level input.
`test_v1_2_workflow_top_level_sf_expr_array`() | Test for the correct error when converting a secondaryFiles expression (array form) in a workflow level input.
`test_v1_0_step_valuefrom_expr_multisource`() | Convert a valueFrom expression that has multiple sources.
`test_v1_1_step_valuefrom_expr_multisource`() | Convert a valueFrom expression that has multiple sources.
`test_v1_2_step_valuefrom_expr_multisource`() | Convert a valueFrom expression that has multiple sources.
`test_v1_0_step_valuefrom_expr_sibling_inputs`() | Convert a valueFrom expression from a step input that has uninvolved sibling inputs.
`test_v1_1_step_valuefrom_expr_sibling_inputs`() | Convert a valueFrom expression from a step input that has uninvolved sibling inputs.
`test_v1_2_step_valuefrom_expr_sibling_inputs`() | Convert a valueFrom expression from a step input that has uninvolved sibling inputs.
`test_v1_2_workflow_output_pickvalue_expr`() | Convert a workflow output pickValue expression.
`test_expression_refactor`(tmp_path) | Functional test.
`test_expression_refactor_noop_solo`(tmp_path) | Functional test.
`test_expression_refactor_noop`(tmp_path) | Functional test.
`cwl_v1_0_dir`(tmp_path_factory) | Download the CWL 1.0.2 specs and return a path to the directory.

## Module Contents

cwl_utils.tests.test_etools_to_clt.test_v1_0_workflow_top_level_format_expr()

  Test for the correct error when converting a format expression in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_0_workflow_top_level_sf_expr()

  Test for the correct error when converting a secondaryFiles expression in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_0_workflow_top_level_sf_expr_array()

  Test correct error when converting a secondaryFiles expression (array form) in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_1_workflow_top_level_format_expr()

  Test for the correct error when converting a format expression in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_1_workflow_top_level_sf_expr()

  Test for the correct error when converting a secondaryFiles expression in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_1_workflow_top_level_sf_expr_array()

  Test for the correct error when converting a secondaryFiles expression (array form) in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_2_workflow_top_level_format_expr()

  Test for the correct error when converting a format expression in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_2_workflow_top_level_sf_expr()

  Test for the correct error when converting a secondaryFiles expression in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_2_workflow_top_level_sf_expr_array()

  Test for the correct error when converting a secondaryFiles expression (array form) in a workflow level input.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_0_step_valuefrom_expr_multisource()

  Convert a valueFrom expression that has multiple sources.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_1_step_valuefrom_expr_multisource()

  Convert a valueFrom expression that has multiple sources.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_2_step_valuefrom_expr_multisource()

  Convert a valueFrom expression that has multiple sources.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_0_step_valuefrom_expr_sibling_inputs()

  Convert a valueFrom expression from a step input that has uninvolved sibling inputs.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_1_step_valuefrom_expr_sibling_inputs()

  Convert a valueFrom expression from a step input that has uninvolved sibling inputs.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_2_step_valuefrom_expr_sibling_inputs()

  Convert a valueFrom expression from a step input that has uninvolved sibling inputs.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_v1_2_workflow_output_pickvalue_expr()

  Convert a workflow output pickValue expression.

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_expression_refactor(tmp_path)

  Functional test.

  Parameters:

    tmp_path (pathlib.Path)

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_expression_refactor_noop_solo(tmp_path)

  Functional test.

  Parameters:

    tmp_path (pathlib.Path)

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.test_expression_refactor_noop(tmp_path)

  Functional test.

  Parameters:

    tmp_path (pathlib.Path)

  Return type:

    None

cwl_utils.tests.test_etools_to_clt.cwl_v1_0_dir(tmp_path_factory)

  Download the CWL 1.0.2 specs and return a path to the directory.

  Parameters:

    tmp_path_factory (_pytest.tmpdir.TempPathFactory)

  Return type:

    collections.abc.Generator[str, None, None]