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.celery_helper module¶
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:
galaxy.di.Container
,galaxy.model.unittest_utils.data_app.GalaxyDataTestApp
- config: MockAppConfig¶
- class galaxy.app_unittest_utils.galaxy_mock.MockAppConfig(**kwargs)[source]¶
Bases:
galaxy.model.unittest_utils.data_app.GalaxyDataTestConfig
,galaxy.config.CommonConfigurationMixin
- class MockSchema(**kwds)[source]¶
Bases:
galaxy.util.bunch.Bunch
- property config_dict¶
- class galaxy.app_unittest_utils.galaxy_mock.MockWebapp(security: galaxy.security.idencoding.IdEncodingHelper, **kwargs)[source]¶
Bases:
object
- __init__(security: galaxy.security.idencoding.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.