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.

Source code for galaxy_test.api.test_galaxy_interactor

# Test galaxy interactor

from packaging.version import Version

from ._framework import ApiTestCase


[docs]class GalaxyInteractorBackwardCompatTestCase(ApiTestCase):
[docs] def test_local_test_data_download(self): self.galaxy_interactor._target_galaxy_version = Version("18.09") assert self.galaxy_interactor.supports_test_data_download is False assert self.galaxy_interactor.test_data_download(tool_id='cat1', filename='1.bed').readline().startswith(b'chr1\t147962192\t147962580')