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.files.unittest_utils package
- class galaxy.files.unittest_utils.TestConfiguredFileSources(file_sources_config: FileSourcePluginsConfig, conf_dict: dict, test_root: str | None)[source]
Bases:
ConfiguredFileSources
- class galaxy.files.unittest_utils.TestPosixConfiguredFileSources(root: str)[source]
Bases:
TestConfiguredFileSourcesA posix file source at test1 rooted on supplied root.
- galaxy.files.unittest_utils.stock_file_sources_allowing_loopback() ConfiguredFileSources[source]
Stock file sources permitted to fetch from a mock HTTP server on the loopback interface.
The stock HTTP file source refuses private addresses unless they are allowlisted, so tests serving fixtures from a local mock server need this configuration.