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
Subpackages
Submodules
galaxy_test.api.sharable module
- class galaxy_test.api.sharable.SharingApiTests[source]
Bases:
UsesApiTestCaseMixinIncludes some tests for the sharing functionality of a particular resource type.
galaxy_test.api.test_authenticate module
galaxy_test.api.test_configuration module
galaxy_test.api.test_dataset_collections module
- class galaxy_test.api.test_dataset_collections.TestDatasetCollectionsApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
- test_sample_sheet_map_over_preserves_columns(history_id)[source]
Test that mapping cat1 over a sample sheet preserves columns metadata.
- galaxy_test.api.test_dataset_collections.upload_flat_sample_sheet(dataset_populator: DatasetPopulator)[source]
- galaxy_test.api.test_dataset_collections.assert_one_collection_created_in_history(dataset_populator: DatasetPopulator, history_id: str)[source]
galaxy_test.api.test_datasets module
galaxy_test.api.test_datatypes module
galaxy_test.api.test_display_applications module
- class galaxy_test.api.test_display_applications.TestDisplayApplicationsApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_folder_contents module
- class galaxy_test.api.test_folder_contents.TestFolderContentsApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_folders module
- class galaxy_test.api.test_folders.TestFoldersApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_framework module
galaxy_test.api.test_group_roles module
- class galaxy_test.api.test_group_roles.TestGroupRolesApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_group_users module
- class galaxy_test.api.test_group_users.TestGroupUsersApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_groups module
- class galaxy_test.api.test_groups.TestGroupsApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_histories module
- class galaxy_test.api.test_histories.TestHistoriesApi[source]
Bases:
ApiTestCase,BaseHistories
- class galaxy_test.api.test_histories.ImportExportTests[source]
Bases:
BaseHistories
- class galaxy_test.api.test_histories.TestImportExportHistory[source]
Bases:
ApiTestCase,ImportExportTests
- class galaxy_test.api.test_histories.TestSharingHistory[source]
Bases:
ApiTestCase,BaseHistories,SharingApiTestsTests specific for the particularities of sharing Histories.
- class galaxy_test.api.test_histories.TestArchivingHistoriesWithoutExportRecord[source]
Bases:
ApiTestCase,BaseHistories
galaxy_test.api.test_history_contents module
- class galaxy_test.api.test_history_contents.TestHistoryContentsApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_history_contents_provenance module
galaxy_test.api.test_jobs module
- class galaxy_test.api.test_jobs.TestJobsApi[source]
Bases:
ApiTestCase,TestsTools- dataset_populator: DatasetPopulator
galaxy_test.api.test_libraries module
- class galaxy_test.api.test_libraries.TestLibrariesApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_licenses module
galaxy_test.api.test_page_revisions module
galaxy_test.api.test_pages module
- class galaxy_test.api.test_pages.BasePagesApiTestCase[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
- class galaxy_test.api.test_pages.TestPagesApi[source]
Bases:
BasePagesApiTestCase,SharingApiTests- create(name: str) str[source]
Creates a shareable resource with the given name and returns it’s ID.
- Parameters:
name – The name of the shareable resource to create.
- Returns:
The ID of the resource.
galaxy_test.api.test_roles module
- class galaxy_test.api.test_roles.TestRolesApi[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_search module
galaxy_test.api.test_tool_data module
Tests for the tool data API.
The tests for the DELETE endpoint can be found in the integration tests directory (tests/integration/test_tool_data_delete.py) since these tests can mutate the server config state.
galaxy_test.api.test_tools module
- class galaxy_test.api.test_tools.TestsTools[source]
Bases:
object- dataset_populator: DatasetPopulator
- dataset_collection_populator: BaseDatasetCollectionPopulator
- class galaxy_test.api.test_tools.TestToolsApi[source]
Bases:
ApiTestCase,TestsTools- dataset_populator: DatasetPopulator
galaxy_test.api.test_tools_upload module
- class galaxy_test.api.test_tools_upload.TestToolsUpload[source]
Bases:
ApiTestCase- dataset_populator: DatasetPopulator
galaxy_test.api.test_tours module
galaxy_test.api.test_users module
galaxy_test.api.test_visualizations module
- class galaxy_test.api.test_visualizations.TestVisualizationsApi[source]
Bases:
ApiTestCase,SharingApiTests
galaxy_test.api.test_webhooks module
galaxy_test.api.test_workflow_extraction module
- class galaxy_test.api.test_workflow_extraction.TestWorkflowExtractionApi[source]
Bases:
BaseWorkflowsApiTestCase
galaxy_test.api.test_workflows module
- class galaxy_test.api.test_workflows.RunsWorkflowFixtures[source]
Bases:
object- workflow_populator: WorkflowPopulator
- class galaxy_test.api.test_workflows.BaseWorkflowsApiTestCase[source]
Bases:
ApiTestCase,RunsWorkflowFixtures- dataset_populator: DatasetPopulator
- class galaxy_test.api.test_workflows.ChangeDatatypeTests[source]
Bases:
object- dataset_populator: DatasetPopulator
- workflow_populator: WorkflowPopulator
- class galaxy_test.api.test_workflows.TestWorkflowSharingApi[source]
Bases:
ApiTestCase,SharingApiTests
- class galaxy_test.api.test_workflows.TestWorkflowsApi[source]
Bases:
BaseWorkflowsApiTestCase,ChangeDatatypeTests- dataset_populator: DatasetPopulator
- run_workflow_with_valid_hashes(history_id: str, content_1: str, content_2: str, use_cached_job: bool = False)[source]
- test_run_workflow_conditional_subworkflow_step_map_over_expression_tool_with_extra_nesting()[source]
- test_run_workflow_conditional_subworkflow_step_map_over_expression_tool_with_extra_nesting_skip_all()[source]
- test_run_subworkflow_with_optional_parent_input_connected_but_not_provided()[source]
Test subworkflow when parent’s optional input is connected but not provided.
This test verifies the fix for a bug where: 1. Parent workflow has an OPTIONAL input 2. That optional input IS CONNECTED to the subworkflow’s input 3. But NO DATA is provided for the parent’s optional input 4. Subworkflow has DELAYED SCHEDULING (via $link)
After the fix, the parent’s optional input outputs are pre-populated with NO_REPLACEMENT before the subworkflow executes, allowing it to properly handle the missing value.
This is different from the case where subworkflow inputs are completely unconnected, which was fixed in 2022.
- class galaxy_test.api.test_workflows.TestAdminWorkflowsApi[source]
Bases:
BaseWorkflowsApiTestCase- require_admin_user = True
- class galaxy_test.api.test_workflows.TestCachedWorkflowsApi[source]
Bases:
BaseWorkflowsApiTestCase,ChangeDatatypeTests- dataset_populator: DatasetPopulator
galaxy_test.api.test_workflows_cwl module
Test CWL workflow functionality.
galaxy_test.api.test_workflows_from_yaml module
- class galaxy_test.api.test_workflows_from_yaml.TestWorkflowsFromYamlApi[source]
Bases:
BaseWorkflowsApiTestCase