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.tool_util.unittest_utils package¶
- galaxy.tool_util.unittest_utils.mock_trans(has_user=True, is_admin=False)[source]¶
A mock
trans
object for exposing user info to toolbox filter unit tests.
- galaxy.tool_util.unittest_utils.t_data_downloader_for(content: Union[Dict[Optional[str], bytes], bytes]) Callable[[str], bytes] [source]¶