Skip to content

Commit

Permalink
Rename to workflow_test_on_invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 31, 2023
1 parent 38c0c43 commit dce6b5b
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 35 deletions.
2 changes: 1 addition & 1 deletion docs/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ documentation describes these commands.
.. include:: commands/workflow_edit.rst
.. include:: commands/workflow_job_init.rst
.. include:: commands/workflow_lint.rst
.. include:: commands/workflow_test_check.rst
.. include:: commands/workflow_test_init.rst
.. include:: commands/workflow_test_on_invocation.rst
.. include:: commands/workflow_upload.rst
6 changes: 0 additions & 6 deletions docs/commands/autoupdate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ Auto-update tool requirements by checking against Conda and updating if newer ve
--update_test_data Update test-data directory with job outputs
(normally written to directory
--job_output_files if specified.)
--paste_test_data_paths / --no_paste_test_data_paths
By default Planemo will use or not use
Galaxy's path paste option to load test data
into a history based on the engine type it is
targeting. This can override the logic to
explicitly enable or disable path pasting.
--test_output PATH Output test report (HTML - for humans)
defaults to tool_test_output.html.
--test_output_text PATH Output test report (Basic text - for display
Expand Down
6 changes: 0 additions & 6 deletions docs/commands/run.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,6 @@ Planemo command for running tools and jobs.
--update_test_data Update test-data directory with job outputs
(normally written to directory
--job_output_files if specified.)
--paste_test_data_paths / --no_paste_test_data_paths
By default Planemo will use or not use
Galaxy's path paste option to load test data
into a history based on the engine type it is
targeting. This can override the logic to
explicitly enable or disable path pasting.
--test_output PATH Output test report (HTML - for humans)
defaults to tool_test_output.html.
--test_output_text PATH Output test report (Basic text - for display
Expand Down
6 changes: 0 additions & 6 deletions docs/commands/shed_test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,6 @@ install these artifacts, and run the tool tests for these commands.
--update_test_data Update test-data directory with job outputs
(normally written to directory
--job_output_files if specified.)
--paste_test_data_paths / --no_paste_test_data_paths
By default Planemo will use or not use
Galaxy's path paste option to load test data
into a history based on the engine type it is
targeting. This can override the logic to
explicitly enable or disable path pasting.
--test_output PATH Output test report (HTML - for humans)
defaults to tool_test_output.html.
--test_output_text PATH Output test report (Basic text - for display
Expand Down
6 changes: 0 additions & 6 deletions docs/commands/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,6 @@ please careful and do not try this against production Galaxy instances.
--update_test_data Update test-data directory with job outputs
(normally written to directory
--job_output_files if specified.)
--paste_test_data_paths / --no_paste_test_data_paths
By default Planemo will use or not use
Galaxy's path paste option to load test data
into a history based on the engine type it is
targeting. This can override the logic to
explicitly enable or disable path pasting.
--test_output PATH Output test report (HTML - for humans)
defaults to tool_test_output.html.
--test_output_text PATH Output test report (Basic text - for display
Expand Down
12 changes: 6 additions & 6 deletions docs/planemo.commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -500,18 +500,18 @@ planemo.commands.cmd\_workflow\_lint module
:undoc-members:
:show-inheritance:

planemo.commands.cmd\_workflow\_test\_check module
--------------------------------------------------
planemo.commands.cmd\_workflow\_test\_init module
-------------------------------------------------

.. automodule:: planemo.commands.cmd_workflow_test_check
.. automodule:: planemo.commands.cmd_workflow_test_init
:members:
:undoc-members:
:show-inheritance:

planemo.commands.cmd\_workflow\_test\_init module
-------------------------------------------------
planemo.commands.cmd\_workflow\_test\_on\_invocation module
-----------------------------------------------------------

.. automodule:: planemo.commands.cmd_workflow_test_init
.. automodule:: planemo.commands.cmd_workflow_test_on_invocation
:members:
:undoc-members:
:show-inheritance:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from planemo.test.results import StructuredData


@click.command("workflow_test_check")
@click.command("workflow_test_on_invocation")
@options.optional_tools_arg(multiple=False, allow_uris=False, metavar="TEST DEFINITION")
@options.required_workflow_arg()
@options.galaxy_url_option(required=True)
Expand Down
6 changes: 3 additions & 3 deletions tests/test_cmds_with_workflow_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_serve_workflow(self):
test_index = 1
invocation_id = output["tests"][test_index]["data"]["invocation_details"]["details"]["invocation_id"]
test_path = os.path.join(TEST_DATA_DIR, "wf11-remote.gxwf-test.yml")
workflow_test_check_command = [
"workflow_test_check",
workflow_test_on_invocation_command = [
"workflow_test_on_invocation",
"--galaxy_url",
f"http://localhost:{self._port}",
"--galaxy_user_key",
Expand All @@ -93,4 +93,4 @@ def test_serve_workflow(self):
test_path,
invocation_id,
]
self._check_exit_code(workflow_test_check_command, exit_code=0)
self._check_exit_code(workflow_test_on_invocation_command, exit_code=0)

0 comments on commit dce6b5b

Please sign in to comment.