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.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¶
- watchers: ConfigWatchers¶
- dataset_collection_manager: DatasetCollectionManager¶
- hda_manager: HDAManager¶
- workflow_manager: WorkflowsManager¶
- history_manager: HistoryManager¶
- job_metrics: JobMetrics¶
- __init__(config=None, **kwargs) None [source]¶
- Parameters:
container – Optional container if provided the existing definitions will be copied
:param log_undefined_deps indicates if a log message should be emmited when an undefined dep is loaded
- install_model: ModelMapping¶
- 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 tag_handler¶
- 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.