Warning
This document is for an old release 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.app_unittest_utils package¶
Submodules¶
galaxy.app_unittest_utils.galaxy_mock module¶
Mock infrastructure for testing ModelManagers.
- class galaxy.app_unittest_utils.galaxy_mock.MockApp(config=None, **kwargs)[source]¶
Bases:
Container
,GalaxyDataTestApp
- config: MockAppConfig¶
- install_model: ModelMapping¶
- watchers: ConfigWatchers¶
- dataset_collection_manager: DatasetCollectionManager¶
- hda_manager: HDAManager¶
- workflow_manager: WorkflowsManager¶
- history_manager: HistoryManager¶
- job_metrics: JobMetrics¶
- class galaxy.app_unittest_utils.galaxy_mock.MockAppConfig(**kwargs)[source]¶
Bases:
GalaxyDataTestConfig
,CommonConfigurationMixin
- property config_dict¶
- security: IdEncodingHelper¶
- class galaxy.app_unittest_utils.galaxy_mock.MockWebapp(security: IdEncodingHelper, **kwargs)[source]¶
Bases:
object
- __init__(security: IdEncodingHelper, **kwargs)[source]¶
- class galaxy.app_unittest_utils.galaxy_mock.MockTrans(app=None, user=None, history=None, **kwargs)[source]¶
Bases:
object
- property user¶
- class galaxy.app_unittest_utils.galaxy_mock.MockVisualizationsRegistry[source]¶
Bases:
object
- BUILT_IN_VISUALIZATIONS = ['trackster']¶
galaxy.app_unittest_utils.tools_support module¶
Module contains test fixtures meant to aide in the testing of jobs and tool evaluation. Such extensive “fixtures” are something of an anti-pattern so use of this should be limitted to tests of very ‘extensive’ classes.