Unverified Commit 7fe19a7c authored by mvdbeek's avatar mvdbeek
Browse files

Merge ``store_by="id"`` tests

parent 5cf9f0e4
Loading
Loading
Loading
Loading
+0 −23
Original line number Diff line number Diff line
from galaxy_test.api.test_workflows import ChangeDatatypeTests
from galaxy_test.base.populators import (
    DatasetPopulator,
    WorkflowPopulator,
)
from galaxy_test.driver import integration_util


class TestChangeDatatypeStoreByIdIntegration(integration_util.IntegrationTestCase, ChangeDatatypeTests):
    """Test changing datatype with object_store_store_by: id."""

    dataset_populator: DatasetPopulator
    framework_tool_and_types = True

    @classmethod
    def handle_galaxy_config_kwds(cls, config):
        config["object_store_store_by"] = "id"
        config["retry_metadata_internally"] = False

    def setUp(self):
        super().setUp()
        self.dataset_populator = DatasetPopulator(self.galaxy_interactor)
        self.workflow_populator = WorkflowPopulator(self.galaxy_interactor)
+22 −2
Original line number Diff line number Diff line
from galaxy_test.api.test_workflows import ChangeDatatypeTests
from galaxy_test.base.populators import (
    DatasetPopulator,
    WorkflowPopulator,
)
from galaxy_test.driver import integration_util


class StoreByIdTestCase(integration_util.IntegrationInstance):
    """Describe a Galaxy test instance with embedded pulsar configured."""
class TestChangeDatatypeStoreByIdIntegration(integration_util.IntegrationTestCase, ChangeDatatypeTests):
    """Test changing datatype with object_store_store_by: id."""

    dataset_populator: DatasetPopulator
    framework_tool_and_types = True

    @classmethod
    def handle_galaxy_config_kwds(cls, config):
        config["object_store_store_by"] = "id"
        config["retry_metadata_internally"] = False

    def setUp(self):
        super().setUp()
        self.dataset_populator = DatasetPopulator(self.galaxy_interactor)
        self.workflow_populator = WorkflowPopulator(self.galaxy_interactor)


class StoreByIdTestCase(integration_util.IntegrationInstance):
    framework_tool_and_types = True

    @classmethod