mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Integration test for 'outputs_to_working_directory' with Pulsar.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
"""Integration tests for the Pulsar embedded runner with outputs to working directory."""
|
||||
|
||||
import os
|
||||
|
||||
from base import integration_util
|
||||
|
||||
SCRIPT_DIRECTORY = os.path.abspath(os.path.dirname(__file__))
|
||||
EMBEDDED_PULSAR_JOB_CONFIG_FILE = os.path.join(SCRIPT_DIRECTORY, "embedded_pulsar_job_conf.yml")
|
||||
|
||||
|
||||
class EmbeddedCopyWorkingPulsarIntegrationInstance(integration_util.IntegrationInstance):
|
||||
"""Describe a Galaxy test instance with embedded pulsar configured."""
|
||||
|
||||
framework_tool_and_types = True
|
||||
|
||||
@classmethod
|
||||
def handle_galaxy_config_kwds(cls, config):
|
||||
config["job_config_file"] = EMBEDDED_PULSAR_JOB_CONFIG_FILE
|
||||
config["outputs_to_working_directory"] = True
|
||||
|
||||
|
||||
instance = integration_util.integration_module_instance(EmbeddedCopyWorkingPulsarIntegrationInstance)
|
||||
|
||||
test_tools = integration_util.integration_tool_runner(["output_format"])
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Integration tests for the Pulsar embedded runner."""
|
||||
"""Integration tests for the Pulsar embedded runner with remote metadata."""
|
||||
|
||||
import os
|
||||
|
||||
@@ -8,7 +8,7 @@ SCRIPT_DIRECTORY = os.path.abspath(os.path.dirname(__file__))
|
||||
EMBEDDED_PULSAR_JOB_CONFIG_FILE = os.path.join(SCRIPT_DIRECTORY, "embedded_pulsar_metadata_job_conf.yml")
|
||||
|
||||
|
||||
class EmbeddedPulsarIntegrationInstance(integration_util.IntegrationInstance):
|
||||
class EmbeddedMetadataPulsarIntegrationInstance(integration_util.IntegrationInstance):
|
||||
"""Describe a Galaxy test instance with embedded pulsar configured."""
|
||||
|
||||
framework_tool_and_types = True
|
||||
@@ -18,6 +18,6 @@ class EmbeddedPulsarIntegrationInstance(integration_util.IntegrationInstance):
|
||||
config["job_config_file"] = EMBEDDED_PULSAR_JOB_CONFIG_FILE
|
||||
|
||||
|
||||
instance = integration_util.integration_module_instance(EmbeddedPulsarIntegrationInstance)
|
||||
instance = integration_util.integration_module_instance(EmbeddedMetadataPulsarIntegrationInstance)
|
||||
|
||||
test_tools = integration_util.integration_tool_runner(["simple_constructs"])
|
||||
|
||||
Reference in New Issue
Block a user