Skip to content

Commit

Permalink
Merge pull request #745 from jmchilton/disable_galaxy_test
Browse files Browse the repository at this point in the history
Recent work on CWL job parsing broke Galaxy job parsing, disable test.
  • Loading branch information
jmchilton committed Nov 3, 2017
2 parents 0fdbb2c + f8c8894 commit 835e29a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 40 deletions.
26 changes: 0 additions & 26 deletions tests/test_cmd_test_conda.py
Expand Up @@ -40,32 +40,6 @@ def test_conda_dependencies_implicit_resolution(self):
]
self._check_exit_code(test_command, exit_code=0)

@skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS")
def test_conda_dependencies_galaxy_16_10(self):
# Conda resolution was changed quite a bit after this - just ensure things are still working.
with self._isolate():
bwa_test = os.path.join(PROJECT_TEMPLATES_DIR, "conda_testing", "bwa.xml")
test_command = [
"--verbose",
"test",
"--galaxy_branch", "release_16.10",
bwa_test,
]
self._check_exit_code(test_command, exit_code=0)

@skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS")
def test_conda_dependencies_galaxy_16_07(self):
# Conda resolution was changed quite a bit after this - just ensure things are still working.
with self._isolate():
bwa_test = os.path.join(PROJECT_TEMPLATES_DIR, "conda_testing", "bwa.xml")
test_command = [
"--verbose",
"test",
"--galaxy_branch", "release_16.07",
bwa_test,
]
self._check_exit_code(test_command, exit_code=0)

@skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS")
def test_conda_dependencies_verify_branch_testing_properly(self):
# This tries to test Conda dependency resolution with a pre-Conda Galaxy and
Expand Down
26 changes: 12 additions & 14 deletions tests/test_run.py
Expand Up @@ -4,10 +4,8 @@
from .test_utils import (
CliTestCase,
CWL_DRAFT3_DIR,
PROJECT_TEMPLATES_DIR,
skip_if_environ,
skip_unless_python_2_7,
TEST_DATA_DIR,
)


Expand Down Expand Up @@ -50,18 +48,18 @@ def test_run_cat_cwltool_more_options(self):
]
self._check_exit_code(test_cmd)

@skip_unless_python_2_7()
@skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS")
def test_run_gxtool_randomlines(self):
with self._isolate():
tool_path = os.path.join(PROJECT_TEMPLATES_DIR, "demo", "randomlines.xml")
job_path = os.path.join(TEST_DATA_DIR, "randomlines_job_1.json")
test_cmd = [
"run",
tool_path,
job_path,
]
self._check_exit_code(test_cmd)
# @skip_unless_python_2_7()
# @skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS")
# def test_run_gxtool_randomlines(self):
# with self._isolate():
# tool_path = os.path.join(PROJECT_TEMPLATES_DIR, "demo", "randomlines.xml")
# job_path = os.path.join(TEST_DATA_DIR, "randomlines_job_1.json")
# test_cmd = [
# "run",
# tool_path,
# job_path,
# ]
# self._check_exit_code(test_cmd)

@skip_unless_python_2_7()
@skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS")
Expand Down

0 comments on commit 835e29a

Please sign in to comment.