galaxy.objectstore.unittest_utils package
Utilities for configuring and using objectstores in unit tests.
- galaxy.objectstore.unittest_utils.app_config(tmpdir) UserObjectStoresAppConfig [source]
- 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', user_object_store_resolver: UserObjectStoreResolver | None = None, template_vars=None, inject_galaxy_test_env=False)[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', user_object_store_resolver: UserObjectStoreResolver | None = None, template_vars=None, inject_galaxy_test_env=False)[source]