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.objectstore.unittest_utils package

Utilities for configuring and using objectstores in unit tests.

class galaxy.objectstore.unittest_utils.Config(config_str='<?xml version="1.0"?>\n<object_store type="disk">\n    <files_dir path="${temp_directory}/files1"/>\n    <extra_dir type="temp" path="${temp_directory}/tmp1"/>\n    <extra_dir type="job_work" path="${temp_directory}/job_working_directory1"/>\n</object_store>\n', clazz=None, store_by='id')[source]

Bases: object

__init__(config_str='<?xml version="1.0"?>\n<object_store type="disk">\n    <files_dir path="${temp_directory}/files1"/>\n    <extra_dir type="temp" path="${temp_directory}/tmp1"/>\n    <extra_dir type="job_work" path="${temp_directory}/job_working_directory1"/>\n</object_store>\n', clazz=None, store_by='id')[source]
write(contents, name)[source]
class galaxy.objectstore.unittest_utils.MockConfig(temp_directory, config_file, store_by='id')[source]

Bases: object

__init__(temp_directory, config_file, store_by='id')[source]