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.model.unittest_utils package¶
Interface provided by galaxy-data modules for unittest utilities for reuse by other modules.
- class galaxy.model.unittest_utils.GalaxyDataTestApp(config: Optional[galaxy.model.unittest_utils.data_app.GalaxyDataTestConfig] = None, **kwd)[source]¶
Bases:
object
Minimal Galaxy mock app object that exposes and uses only what is needed for the galaxy-data package.
- __init__(config: Optional[galaxy.model.unittest_utils.data_app.GalaxyDataTestConfig] = None, **kwd)[source]¶
- security_agent: galaxy.model.security.GalaxyRBACAgent¶
- class galaxy.model.unittest_utils.GalaxyDataTestConfig(root=None, **kwd)[source]¶
Bases:
galaxy.util.bunch.Bunch
Minimal Galaxy mock config object that exposes and uses only what is needed for the galaxy-data package.
Submodules¶
galaxy.model.unittest_utils.data_app module¶
Mock GalaxyApp exposing config + functionality required for galaxy-data package.
There is a more expansive MockApp in test/unit/unittest_utils - but it isn’t packaged and it has dependencies from across the app. This mock application and config is more appropriate for testing galaxy-data functionality and will be included with galaxy-data.
- class galaxy.model.unittest_utils.data_app.GalaxyDataTestConfig(root=None, **kwd)[source]¶
Bases:
galaxy.util.bunch.Bunch
Minimal Galaxy mock config object that exposes and uses only what is needed for the galaxy-data package.
- class galaxy.model.unittest_utils.data_app.GalaxyDataTestApp(config: Optional[galaxy.model.unittest_utils.data_app.GalaxyDataTestConfig] = None, **kwd)[source]¶
Bases:
object
Minimal Galaxy mock app object that exposes and uses only what is needed for the galaxy-data package.
- __init__(config: Optional[galaxy.model.unittest_utils.data_app.GalaxyDataTestConfig] = None, **kwd)[source]¶
- security_agent: galaxy.model.security.GalaxyRBACAgent¶