Warning

This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy_test.api package

Submodules

galaxy_test.api.test_api_batch module

class galaxy_test.api.test_api_batch.ApiBatchTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_simple_array()[source]
test_unallowed_route()[source]
test_404_route()[source]
test_errors()[source]
test_querystring_params()[source]

galaxy_test.api.test_authenticate module

class galaxy_test.api.test_authenticate.AuthenticationApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_auth()[source]

galaxy_test.api.test_configuration module

class galaxy_test.api.test_configuration.ConfigurationApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_normal_user_configuration()[source]
test_admin_user_configuration()[source]
test_normal_user_decode_id()[source]

galaxy_test.api.test_dataset_collections module

class galaxy_test.api.test_dataset_collections.DatasetCollectionApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_create_pair_from_history()[source]
test_create_list_from_history()[source]
test_create_list_of_existing_pairs()[source]
test_create_list_of_new_pairs()[source]
test_list_download()[source]
test_pair_download()[source]
test_list_pair_download()[source]
test_list_list_download()[source]
test_list_list_list_download()[source]
test_hda_security()[source]
test_enforces_unique_names()[source]
test_upload_collection()[source]
test_upload_nested()[source]
test_upload_collection_from_url(*args, **kwargs)[source]
test_collection_contents_security()[source]
test_collection_contents_invalid_collection()[source]
test_show_dataset_collection_contents()[source]
test_collection_contents_limit_offset()[source]

galaxy_test.api.test_datasets module

class galaxy_test.api.test_datasets.DatasetsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_index()[source]
test_search_datasets()[source]
test_search_by_tag()[source]
test_search_by_tool_id()[source]
test_search_returns_only_accessible()[source]
test_show()[source]
test_display()[source]
test_tag_change()[source]

galaxy_test.api.test_datatypes module

class galaxy_test.api.test_datatypes.DatatypesApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_index()[source]
test_index_upload_only()[source]
test_full_index()[source]
test_mapping()[source]
test_types_and_mapping()[source]
test_sniffers()[source]
test_converters()[source]
test_converter_present_after_toolbox_reload()[source]

galaxy_test.api.test_framework module

class galaxy_test.api.test_framework.ApiFrameworkTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_user_cannont_run_as()[source]
test_run_as_invalid_user()[source]
test_run_as_valid_user()[source]

galaxy_test.api.test_galaxy_interactor module

class galaxy_test.api.test_galaxy_interactor.GalaxyInteractorBackwardCompatTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_local_test_data_download()[source]

galaxy_test.api.test_histories module

class galaxy_test.api.test_histories.HistoriesApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_create_history()[source]
test_show_history()[source]
test_show_most_recently_used()[source]
test_index_order()[source]
test_delete()[source]
test_purge()[source]
test_undelete()[source]
test_update()[source]
test_update_invalid_attribute()[source]
test_update_invalid_types()[source]
test_invalid_keys()[source]
test_create_anonymous_fails()[source]
test_import_export()[source]
test_import_1901_histories()[source]
test_import_export_include_deleted()[source]
test_import_export_failed_job(*args, **kwargs)[source]
test_import_metadata_regeneration()[source]
test_import_export_collection()[source]
test_import_export_nested_collection()[source]
test_create_tag()[source]

galaxy_test.api.test_history_contents module

class galaxy_test.api.test_history_contents.HistoryContentsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase, galaxy_test.base.populators.TestsDatasets

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_index_hda_summary()[source]
test_make_private_and_public()[source]
test_set_permissions_add_admin_history_contents()[source]
test_set_permissions_add_admin_datasets()[source]
test_index_hda_all_details()[source]
test_index_hda_detail_by_id()[source]
test_show_hda()[source]
test_hda_copy()[source]
test_library_copy()[source]
test_update()[source]
test_update_batch()[source]
test_update_type_failures()[source]
test_delete()[source]
test_purge()[source]
test_dataset_collection_creation_on_contents()[source]
test_dataset_collection_creation_on_typed_contents()[source]
test_dataset_collection_create_from_exisiting_datasets_with_new_tags()[source]
test_jobs_summary_simple_hdca(*args, **kwargs)[source]
test_jobs_summary_implicit_hdca(*args, **kwargs)[source]
test_dataset_collection_hide_originals()[source]
test_update_dataset_collection()[source]
test_hdca_copy()[source]
test_hdca_copy_and_elements()[source]
test_hdca_from_library_datasets()[source]
test_hdca_from_inaccessible_library_datasets()[source]
test_job_state_summary_field()[source]

galaxy_test.api.test_history_contents_provenance module

class galaxy_test.api.test_history_contents_provenance.TestProvenance(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_show_prov()[source]

galaxy_test.api.test_jobs module

class galaxy_test.api.test_jobs.JobsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase, galaxy_test.api.test_tools.TestsTools

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_index(*args, **kwds)[source]
test_system_details_admin_only(*args, **kwds)[source]
test_index_state_filter(*args, **kwds)[source]
test_index_date_filter(*args, **kwds)[source]
test_index_history(*args, **kwds)[source]
test_index_multiple_states_filter(*args, **kwds)[source]
test_show(*args, **kwds)[source]
test_show_security(*args, **kwds)[source]
test_unhide_on_error(*args, **kwargs)[source]
test_no_unhide_on_error_if_mapped_over(*args, **kwargs)[source]
test_common_problems(*args, **kwargs)[source]
test_report_error(*args, **kwargs)[source]
test_report_error_anon(*args, **kwargs)[source]
test_deleting_output_keep_running_until_all_deleted(*args, **kwds)[source]
test_purging_output_keep_running_until_all_purged(*args, **kwds)[source]
test_purging_output_cleaned_after_ok_run(*args, **kwds)[source]
test_resume_job(*args, **kwargs)[source]
test_search_handle_identifiers(*args, **kwds)[source]
test_search_delete_outputs(*args, **kwds)[source]
test_search_with_hdca_list_input(*args, **kwds)[source]
test_search_delete_hdca_output(*args, **kwds)[source]
test_search_with_hdca_pair_input(*args, **kwds)[source]
test_search_with_hdca_list_pair_input(*args, **kwds)[source]
test_job_build_for_rerun(*args, **kwargs)[source]
test_dce_submission_security(*args, **kwargs)[source]
test_job_build_for_rerun_list_list(*args, **kwargs)[source]

galaxy_test.api.test_libraries module

class galaxy_test.api.test_libraries.LibrariesApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase, galaxy_test.base.populators.TestsDatasets

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_create()[source]
test_delete()[source]
test_nonadmin()[source]
test_update()[source]
test_create_private_library_permissions()[source]
test_create_dataset_denied()[source]
test_show_private_dataset_permissions()[source]
test_create_dataset()[source]
test_fetch_upload_to_folder()[source]
test_fetch_zip_to_folder()[source]
test_fetch_single_url_to_folder()[source]
test_fetch_single_url_with_invalid_datatype()[source]
test_legacy_upload_unknown_datatype()[source]
test_fetch_failed_validation()[source]
test_fetch_url_archive_to_folder()[source]
test_fetch_bagit_archive_to_folder()
test_create_dataset_in_folder()[source]
test_create_dataset_in_subfolder()[source]
test_update_dataset_in_folder()[source]
test_update_dataset_tags()[source]
test_invalid_update_dataset_in_folder()[source]
test_detect_datatype_of_dataset_in_folder()[source]
test_ldda_collection_import_to_history()[source]
test_ldda_collection_import_to_history_hide_source()[source]
test_create_datasets_in_library_from_collection()[source]
test_create_datasets_in_folder_from_collection()[source]

galaxy_test.api.test_page_revisions module

class galaxy_test.api.test_page_revisions.PageRevisionsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api.test_pages.BasePageApiTestCase

test_create()[source]
test_403_if_create_revision_on_unowned_page()[source]
test_revision_index()[source]
test_malformed_id_if_index_unknown_page()[source]

galaxy_test.api.test_pages module

class galaxy_test.api.test_pages.BasePageApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

class galaxy_test.api.test_pages.PageApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api.test_pages.BasePageApiTestCase

test_create()[source]
test_index()[source]
test_index_does_not_show_unavailable_pages()[source]
test_cannot_create_pages_with_same_slug()[source]
test_cannot_create_page_with_invalid_content_format()[source]
test_page_requires_name()[source]
test_page_requires_slug()[source]
test_delete()[source]
test_400_on_delete_invalid_page_id()[source]
test_403_on_delete_unowned_page()[source]
test_400_on_invalid_id_encoding()[source]
test_400_on_invalid_id_encoding_markdown()[source]
test_400_on_invalid_embedded_content()[source]
test_400_on_invalid_markdown_call()[source]
test_show()[source]
test_403_on_unowner_show()[source]

galaxy_test.api.test_roles module

class galaxy_test.api.test_roles.RolesApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_list_and_show()[source]
test_create_valid()[source]
test_show_error_codes()[source]
test_create_only_admin()[source]
static check_role_dict(role_dict, assert_id=None)[source]

galaxy_test.api.test_tool_data module

Tests for the tool data API.

class galaxy_test.api.test_tool_data.ToolDataApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_admin_only()[source]
test_list()[source]
test_show()[source]
test_show_field()[source]
test_download_field_file()[source]

galaxy_test.api.test_tools module

class galaxy_test.api.test_tools.TestsTools[source]

Bases: object

class galaxy_test.api.test_tools.ToolsTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase, galaxy_test.api.test_tools.TestsTools

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_index()[source]
test_search_cat(*args, **kwargs)[source]
test_search_trimmer(*args, **kwargs)[source]
test_search_grep(*args, **kwargs)[source]
test_no_panel_index()[source]
test_requirements(*args, **kwargs)[source]
test_show_repeat(*args, **kwargs)[source]
test_show_conditional(*args, **kwargs)[source]
test_show_multi_data(*args, **kwargs)[source]
test_show_output_collection(*args, **kwargs)[source]
test_data_source_ok_request(*args, **kwargs)[source]
test_data_source_sniff_fastqsanger(*args, **kwargs)[source]
test_data_sources_block_file_parameters(*args, **kwargs)[source]
test_test_data_filepath_security(*args, **kwargs)[source]
test_test_data_admin_security(*args, **kwargs)[source]
test_test_data_composite_output(*args, **kwargs)[source]
test_test_data_collection_two_paired(*args, **kwargs)[source]
test_test_data_collection_nested(*args, **kwargs)[source]
test_test_data_yaml_tools(*args, **kwargs)[source]
test_test_data_download(*args, **kwargs)[source]
test_test_data_downloads_security(*args, **kwargs)[source]
test_test_data_download_composite(*args, **kwargs)[source]
test_unzip_collection()[source]
test_unzip_nested()[source]
test_zip_inputs()[source]
test_collection_operation_dataset_input_permissions(*args, **kwargs)[source]
test_collection_operation_collection_input_permissions(*args, **kwargs)[source]
test_zip_list_inputs()[source]
test_filter_failed_list(*args, **kwargs)[source]
test_filter_failed_list_paired(*args, **kwargs)[source]
test_apply_rules_1()[source]
test_apply_rules_2()[source]
test_apply_rules_3()[source]
test_apply_rules_4()[source]
test_multi_select_as_list(*args, **kwargs)[source]
test_multi_select_optional(*args, **kwargs)[source]
test_library_data_param(*args, **kwargs)[source]
test_multidata_param(*args, **kwargs)[source]
test_run_cat1(*args, **kwargs)[source]
test_run_cat1_use_cached_job(*args, **kwargs)[source]
test_run_cat1_listified_param(*args, **kwargs)[source]
test_run_by_versions(*args, **kwargs)[source]
test_show_with_wrong_tool_version_in_tool_id(*args, **kwargs)[source]
test_run_cat1_single_meta_wrapper(*args, **kwargs)[source]
test_guess_derived_permissions(*args, **kwargs)[source]
test_guess_derived_permissions_collections(*args, **kwargs)[source]
test_validation(*args, **kwargs)[source]
test_validation_empty_dataset(*args, **kwargs)[source]
test_validation_in_repeat(*args, **kwargs)[source]
test_collection_parameter(*args, **kwargs)[source]
test_paired_collection_output(*args, **kwargs)[source]
test_list_collection_output(*args, **kwargs)[source]
test_list_collection_output_format_source(*args, **kwargs)[source]
test_dynamic_list_output(*args, **kwargs)[source]
test_dynamic_list_output_datasets_in_failed_state(*args, **kwargs)[source]
test_nonadmin_users_cannot_create_tools()[source]
test_dynamic_tool_1()[source]
test_dynamic_tool_from_path()[source]
test_dynamic_tool_no_id()[source]
test_show_dynamic_tools()[source]
test_tool_deactivate()[source]
test_run_cat1_with_two_inputs(*args, **kwargs)[source]
test_bam_state_regression(*args, **kwargs)[source]
test_qc_messages(*args, **kwargs)[source]
test_multirun_cat1(*args, **kwargs)[source]
test_multirun_non_data_parameter(*args, **kwargs)[source]
test_multirun_in_repeat(*args, **kwargs)[source]
test_multirun_in_repeat_mismatch(*args, **kwargs)[source]
test_multirun_on_multiple_inputs(*args, **kwargs)[source]
test_multirun_on_multiple_inputs_unlinked(*args, **kwargs)[source]
test_map_over_collection(*args, **kwargs)[source]
test_map_over_empty_collection(*args, **kwargs)[source]
test_map_over_with_output_format_actions(*args, **kwargs)[source]
test_map_over_with_nested_paired_output_format_actions(*args, **kwargs)[source]
test_map_over_with_output_filter_no_filtering(*args, **kwargs)[source]
test_map_over_with_output_filter_one_filtered(*args, **kwargs)[source]
test_map_over_with_complex_output_actions(*args, **kwargs)[source]
test_map_over_with_discovered_output_collection_elements(*args, **kwargs)[source]
test_identifier_in_map(*args, **kwargs)[source]
test_identifier_outside_map(*args, **kwargs)[source]
test_list_selectable_in_multidata_input(*args, **kwargs)[source]
test_identifier_in_multiple_reduce(*args, **kwargs)[source]
test_identifier_map_over_multiple_input_in_conditional(*args, **kwargs)[source]
test_identifier_map_over_input_in_conditional(*args, **kwargs)[source]
test_identifier_multiple_reduce_in_conditional(*args, **kwargs)[source]
test_identifier_multiple_reduce_in_repeat(*args, **kwargs)[source]
test_identifier_single_in_repeat(*args, **kwargs)[source]
test_identifier_multiple_in_conditional(*args, **kwargs)[source]
test_identifier_with_multiple_normal_datasets(*args, **kwargs)[source]
test_identifier_with_data_collection(*args, **kwargs)[source]
test_identifier_in_actions(*args, **kwargs)[source]
test_map_over_nested_collections(*args, **kwargs)[source]
test_paired_input_map_over_nested_collections(*args, **kwargs)[source]
test_paired_input_conditional_map_over_nested_collections(*args, **kwargs)[source]
test_map_over_two_collections(*args, **kwargs)[source]
test_map_over_two_collections_unlinked(*args, **kwargs)[source]
test_map_over_collected_and_individual_datasets(*args, **kwargs)[source]
test_default_identifier_source_map_over(*args, **kwargs)[source]
test_map_over_collection_output(*args, **kwargs)[source]
test_cannot_map_over_incompatible_collections(*args, **kwargs)[source]
test_map_over_collection_structured_like(*args, **kwargs)[source]
test_map_over_collection_type_source(*args, **kwargs)[source]
test_reduce_collections_legacy(*args, **kwargs)[source]
test_reduce_collections(*args, **kwargs)[source]
test_implicit_reduce_with_mapping(*args, **kwargs)[source]
test_implicit_conversion_and_reduce(*args, **kwargs)[source]
test_implicit_conversion_and_reduce_invalid_param(*args, **kwargs)[source]
test_reduce_collections_in_repeat(*args, **kwargs)[source]
test_reduce_collections_in_repeat_legacy(*args, **kwargs)[source]
test_reduce_multiple_lists_on_multi_data(*args, **kwargs)[source]
test_subcollection_mapping(*args, **kwargs)[source]
test_combined_mapping_and_subcollection_mapping(*args, **kwargs)[source]
test_group_tag_selection(*args, **kwargs)[source]
test_group_tag_selection_multiple(*args, **kwargs)[source]
test_galaxy_expression_tool_simplest(*args, **kwargs)[source]
test_galaxy_expression_tool_simple(*args, **kwargs)[source]
test_galaxy_expression_metadata(*args, **kwargs)[source]
galaxy_test.api.test_tools.dataset_to_param(dataset)[source]

galaxy_test.api.test_tools_upload module

class galaxy_test.api.test_tools_upload.ToolsUploadTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_upload1_paste()[source]
test_upload1_paste_bad_datatype()[source]
test_upload_posix_newline_fixes_by_default()[source]
test_fetch_posix_unaltered()[source]
test_upload_disable_posix_fix()[source]
test_fetch_post_lines_option()[source]
test_post_lines_trailing()[source]
test_post_lines_trailing_off()[source]
test_fetch_post_lines_trailing_off_by_default()[source]
test_fetch_post_lines_trailing_if_to_posix()[source]
test_upload_tab_to_space_off_by_default()[source]
test_fetch_tab_to_space_off_by_default()[source]
test_upload_tab_to_space()[source]
test_fetch_tab_to_space()[source]
test_fetch_compressed_with_explicit_type()[source]
test_fetch_compressed_default()[source]
test_fetch_compressed_auto_decompress_target(*args, **kwds)[source]
test_upload_decompress_off_with_auto_by_default()[source]
test_upload_decompresses_if_uncompressed_type_selected()[source]
test_upload_decompress_off_if_compressed_type_selected()[source]
test_upload_auto_decompress_off()[source]
test_fetch_compressed_with_auto(*args, **kwds)[source]
test_rdata_not_decompressed(*args, **kwargs)[source]
test_csv_upload(*args, **kwargs)[source]
test_csv_upload_auto(*args, **kwargs)[source]
test_csv_fetch(*args, **kwargs)[source]
test_csv_sniff_fetch(*args, **kwargs)[source]
test_image_upload_auto(*args, **kwargs)[source]
test_newlines_stage_fetch(*args, **kwds)[source]
test_newlines_stage_fetch_configured(*args, **kwds)[source]
test_composite_datatype(*args, **kwargs)[source]
test_composite_datatype_fetch(*args, **kwargs)[source]
test_composite_datatype_stage_fetch(*args, **kwargs)[source]
test_composite_datatype_stage_upload1(*args, **kwargs)[source]
test_composite_datatype_space_to_tab(*args, **kwargs)[source]
test_composite_datatype_posix_lines(*args, **kwargs)[source]
test_composite_datatype_isatab(*args, **kwargs)[source]
test_upload_composite_as_tar(*args, **kwds)[source]
test_upload_composite_as_tar_fetch(*args, **kwds)[source]
test_upload_composite_from_bad_tar(*args, **kwds)[source]
test_upload_dbkey()[source]
test_fetch_bam_file(*args, **kwds)[source]
test_upload_bam_file()[source]
test_fetch_metadata()[source]
test_upload_multiple_files_1()[source]
test_upload_multiple_files_2()[source]
test_upload_multiple_files_3()[source]
test_upload_multiple_files_no_dbkey()[source]
test_upload_multiple_files_space_to_tab()[source]
test_multiple_files_posix_lines()[source]
test_upload_force_composite()[source]
test_upload_from_invalid_url(*args, **kwargs)[source]
test_upload_from_valid_url(*args, **kwargs)[source]
test_upload_and_validate_invalid()[source]
test_upload_and_validate_valid()[source]

galaxy_test.api.test_tours module

class galaxy_test.api.test_tours.TourApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_index()[source]
test_show()[source]

galaxy_test.api.test_users module

class galaxy_test.api.test_users.UsersApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_index()[source]
test_index_only_self_for_nonadmins()[source]
test_show()[source]
test_update()[source]
test_admin_update()[source]
test_delete_user()[source]
test_purge_user()[source]

Delete user and then purge them.

test_undelete_user()[source]

Delete user and then undelete them.

test_information()[source]
test_favorites(*args, **kwargs)[source]
test_search_favorites(*args, **kwargs)[source]
test_communication()[source]

galaxy_test.api.test_visualizations module

class galaxy_test.api.test_visualizations.VisualizationsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

test_index_and_show()[source]
test_create()[source]
test_create_fails_without_title()[source]
test_create_fails_with_bad_slug()[source]
test_create_fails_with_invalid_config()[source]
test_update_title()[source]

galaxy_test.api.test_webhooks module

class galaxy_test.api.test_webhooks.WebhooksApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_get_all()[source]
test_get_data()[source]

galaxy_test.api.test_workflow_extraction module

class galaxy_test.api.test_workflow_extraction.WorkflowExtractionApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api.test_workflows.BaseWorkflowsApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_extract_from_history(*args, **kwargs)[source]
test_extract_with_copied_inputs(*args, **kwds)[source]
test_extract_with_copied_inputs_reimported(*args, **kwds)[source]
test_extract_mapping_workflow_from_history(*args, **kwargs)[source]
test_extract_copied_mapping_from_history()[source]
test_extract_copied_mapping_from_history_reimported()[source]
test_extract_reduction_from_history(*args, **kwargs)[source]
test_extract_workflows_with_dataset_collections(*args, **kwargs)[source]
test_subcollection_mapping(*args, **kwargs)[source]
test_extract_workflow_with_output_collections(*args, **kwargs)[source]
test_extract_with_mapped_output_collections(*args, **kwargs)[source]
class galaxy_test.api.test_workflow_extraction.RunJobsSummary(history_id, workflow_id, inputs, jobs)

Bases: tuple

property history_id

Alias for field number 0

property inputs

Alias for field number 2

property jobs

Alias for field number 3

property workflow_id

Alias for field number 1

galaxy_test.api.test_workflows module

class galaxy_test.api.test_workflows.BaseWorkflowsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api._framework.ApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

import_workflow(workflow, **kwds)[source]
wait_for_invocation_and_jobs(history_id, workflow_id, invocation_id, assert_ok=True)[source]
class galaxy_test.api.test_workflows.WorkflowsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api.test_workflows.BaseWorkflowsApiTestCase

test_show_valid()[source]
test_show_invalid_key_is_400()[source]
test_cannot_show_private_workflow()[source]
test_cannot_download_private_workflow()[source]
test_anon_can_download_public_workflow()[source]
test_delete()[source]
test_other_cannot_delete()[source]
test_index()[source]
test_upload()[source]
test_upload_deprecated()[source]
test_import_tools_requires_admin()[source]
test_get_tool_predictions()[source]
test_update()[source]
test_update_tags()[source]
test_update_no_tool_id()[source]
test_update_missing_tool()[source]
test_require_unique_step_uuids()[source]
test_require_unique_step_labels()[source]
test_import_deprecated()[source]
test_import_export_dynamic()[source]
test_import_annotations()[source]
test_import_subworkflows()[source]
test_not_importable_prevents_import()[source]
test_anonymous_published()[source]
test_import_published()[source]
test_export()[source]
test_export_format2()[source]
test_export_editor()[source]
test_export_editor_filtered_outputs(*args, **kwargs)[source]
test_export_editor_filtered_outputs_exception_handling(*args, **kwargs)[source]
test_export_editor_collection_type_source(*args, **kwargs)[source]
test_export_editor_subworkflow_collection_type_source(*args, **kwargs)[source]
test_import_missing_tool()[source]
test_import_no_tool_id()[source]
test_import_export_with_runtime_inputs()[source]
test_run_workflow_by_index(*args, **kwargs)[source]
test_run_workflow_by_uuid(*args, **kwargs)[source]
test_run_workflow_by_uuid_implicitly(*args, **kwargs)[source]
test_run_workflow_by_name(*args, **kwargs)[source]
test_run_workflow(*args, **kwargs)[source]
test_run_versioned_tools(*args, **kwargs)[source]
test_workflow_run_output_collections(*args, **kwargs)[source]
test_workflow_resume_from_failed_step(*args, **kwargs)[source]
test_workflow_resume_from_failed_step_with_hdca_input(*args, **kwargs)[source]
test_workflow_resume_with_mapped_over_input(*args, **kwargs)[source]
test_workflow_list_list_multi_data_map_over(*args, **kwargs)[source]
test_workflow_run_output_collection_mapping(*args, **kwargs)[source]
test_workflow_run_dynamic_output_collections(*args, **kwargs)[source]
test_workflow_run_dynamic_output_collections_2(*args, **kwargs)[source]
test_workflow_run_dynamic_output_collections_3(*args, **kwargs)[source]
test_workflow_metadata_validation_0(*args, **kwargs)[source]
test_run_subworkflow_simple()[source]
test_run_subworkflow_runtime_parameters(*args, **kwargs)[source]
test_run_subworkflow_replacment_parameters(*args, **kwargs)[source]
test_run_runtime_parameters_after_pause(*args, **kwargs)[source]
test_run_subworkflow_auto_labels()[source]
test_workflow_run_zip_collections(*args, **kwargs)[source]
test_workflow_flatten(*args, **kwargs)[source]
test_workflow_flatten_with_mapped_over_execution(*args, **kwargs)[source]
test_workflow_invocation_report_1(*args, **kwargs)[source]
test_workflow_invocation_report_custom(*args, **kwargs)[source]
test_workflow_run_apply_rules(*args, **kwargs)[source]
test_filter_failed_mapping()[source]
test_workflow_request()[source]
test_workflow_output_dataset()[source]
test_workflow_output_dataset_collection(*args, **kwargs)[source]
test_workflow_input_as_output()[source]
test_workflow_input_mapping(*args, **kwargs)[source]
test_workflow_run_input_mapping_with_output_collections(*args, **kwargs)[source]
test_workflow_run_input_mapping_with_subworkflows()[source]
test_subworkflow_recover_mapping_1(*args, **kwargs)[source]
test_subworkflow_recover_mapping_2(*args, **kwargs)[source]
test_recover_mapping_in_subworkflow(*args, **kwargs)[source]
test_empty_list_mapping(*args, **kwargs)[source]
test_change_datatype_collection_map_over(*args, **kwargs)[source]
test_mapping_and_subcollection_mapping(*args, **kwargs)[source]
test_empty_list_reduction(*args, **kwargs)[source]
test_cancel_new_workflow_when_history_deleted(*args, **kwargs)[source]
test_cancel_ready_workflow_when_history_deleted(*args, **kwargs)[source]
test_workflow_pause(*args, **kwargs)[source]
test_workflow_pause_cancel(*args, **kwargs)[source]
test_workflow_map_reduce_pause(*args, **kwargs)[source]
test_cancel_workflow_invocation(*args, **kwargs)[source]
test_pause_outputs_with_deleted_inputs(*args, **kwargs)[source]
test_error_outputs_with_purged_inputs(*args, **kwargs)[source]
test_run_with_implicit_connection()[source]
test_run_with_optional_data_specified_to_multi_data()[source]
test_run_with_optional_data_unspecified_to_multi_data()[source]
test_run_with_non_optional_data_unspecified_fails_invocation()[source]
test_run_with_optional_collection_specified()[source]
test_run_with_optional_collection_unspecified()[source]
test_run_with_non_optional_collection_unspecified_fails_invocation()[source]
test_run_with_validated_parameter_connection_optional()[source]
test_run_with_int_parameter()[source]
test_run_with_validated_parameter_connection_default_values()[source]
test_run_with_validated_parameter_connection_invalid()[source]
test_run_with_text_input_connection()[source]
test_run_with_numeric_input_connection()[source]
test_expression_tool_map_over(*args, **kwargs)[source]
test_workflow_rerun_with_use_cached_job(*args, **kwargs)[source]
test_nested_workflow_rerun_with_use_cached_job(*args, **kwargs)[source]
test_cannot_run_inaccessible_workflow()[source]
test_400_on_invalid_workflow_id()[source]
test_cannot_run_against_other_users_history()[source]
test_workflow_run_with_matching_lists(*args, **kwargs)[source]
test_workflow_stability()[source]
test_empty_create()[source]
test_invalid_create_multiple_types()[source]
test_run_with_pja(*args, **kwargs)[source]
test_hidden_param_in_workflow(*args, **kwargs)[source]
test_optional_workflow_output(*args, **kwargs)[source]
test_run_rename_on_mapped_over_collection(*args, **kwargs)[source]
test_run_rename_based_on_inputs_on_mapped_over_collection(*args, **kwargs)[source]
test_run_rename_collection_output(*args, **kwargs)[source]
test_run_build_list_hide_collection_output(*args, **kwargs)[source]
test_run_build_list_delete_intermediate_collection_output(*args, **kwargs)[source]
test_run_build_list_change_datatype_collection_output(*args, **kwargs)[source]
test_run_build_list_rename_collection_output(*args, **kwargs)[source]
test_run_rename_multiple_outputs(*args, **kwargs)[source]
test_run_rename_based_on_input(*args, **kwargs)[source]
test_run_rename_when_resuming_jobs(*args, **kwargs)[source]
test_run_rename_based_on_input_recursive(*args, **kwargs)[source]
test_run_rename_based_on_input_repeat(*args, **kwargs)[source]
test_run_rename_based_on_input_conditional(*args, **kwargs)[source]
test_run_rename_based_on_input_collection(*args, **kwargs)[source]
test_run_hide_on_collection_output(*args, **kwargs)[source]
test_run_hide_on_mapped_over_collection(*args, **kwargs)[source]
test_tag_auto_propagation(*args, **kwargs)[source]
test_run_add_tag_on_collection_output(*args, **kwargs)[source]
test_run_add_tag_on_mapped_over_collection(*args, **kwargs)[source]
test_assign_column_pja(*args, **kwargs)[source]
test_run_remove_tag_on_collection_output(*args, **kwargs)[source]
test_run_with_runtime_pja(*args, **kwargs)[source]
test_run_with_delayed_runtime_pja(*args, **kwargs)[source]
test_delete_intermediate_datasets_pja_1(*args, **kwargs)[source]
test_validated_post_job_action_validated(*args, **kwargs)[source]
test_validated_post_job_action_unvalidated_default(*args, **kwargs)[source]
test_validated_post_job_action_invalid(*args, **kwargs)[source]
test_run_replace_params_by_tool(*args, **kwargs)[source]
test_run_replace_params_by_uuid(*args, **kwargs)[source]
test_run_batch(*args, **kwargs)[source]
test_parameter_substitution_sanitization(*args, **kwargs)[source]
test_parameter_substitution_validation_value_errors_0(*args, **kwargs)[source]
test_parameter_substitution_validation_value_errors_1(*args, **kwargs)[source]
test_workflow_import_state_validation_1(*args, **kwargs)[source]
test_run_replace_params_by_steps(*args, **kwargs)[source]
test_run_replace_params_nested(*args, **kwargs)[source]
test_run_replace_params_nested_normalized(*args, **kwargs)[source]
test_run_replace_params_over_default(*args, **kwargs)[source]
test_defaults_editor(*args, **kwargs)[source]
test_run_replace_params_over_default_delayed(*args, **kwargs)[source]
test_pja_import_export()[source]
test_only_own_invocations_indexed_and_accessible(*args, **kwargs)[source]
test_invocation_usage(*args, **kwargs)[source]
test_invocation_with_collection_mapping()[source]
test_invocations_accessible_imported_workflow(*args, **kwargs)[source]
test_invocations_accessible_published_workflow(*args, **kwargs)[source]
test_invocations_not_accessible_by_different_user_for_published_workflow(*args, **kwargs)[source]
class galaxy_test.api.test_workflows.AdminWorkflowsApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api.test_workflows.BaseWorkflowsApiTestCase

require_admin_user = True
test_import_export_dynamic_tools()[source]

galaxy_test.api.test_workflows_from_yaml module

class galaxy_test.api.test_workflows_from_yaml.WorkflowsFromYamlApiTestCase(methodName='runTest')[source]

Bases: galaxy_test.api.test_workflows.BaseWorkflowsApiTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_simple_upload()[source]
test_simple_output_actions()[source]
test_inputs_to_steps()[source]
test_outputs()[source]
test_runtime_inputs()[source]
test_subworkflow_simple()[source]
test_subworkflow_duplicate()[source]
test_pause()[source]
test_implicit_connections()[source]
test_conditional_ints(*args, **kwds)[source]
test_workflow_embed_tool()[source]
test_workflow_import_tool()[source]