diff --git a/test/unit/tool_util/test_tool_linters.py b/test/unit/tool_util/test_tool_linters.py
index 7756b5993c2..ca1f450e6f1 100644
--- a/test/unit/tool_util/test_tool_linters.py
+++ b/test/unit/tool_util/test_tool_linters.py
@@ -12,20 +12,13 @@ from galaxy.tool_util.linters import (
from galaxy.tool_util.parser.xml import XmlToolSource
from galaxy.util import etree
+# tests tool xml for general linter
WHITESPACE_IN_VERSIONS_AND_NAMES = """
The BWA Mapper
bwa
- bwa.py --version
-
-
-
-
-
-
-
"""
@@ -36,21 +29,12 @@ REQUIREMENT_WO_VERSION = """
bwa
- bwa.py --version
-
-
-
-
-
-
-
"""
-NO_SECTIONS_XML = """
-
- The BWA Mapper
- bwa.py --version
+# test tool xml for inputs linter
+NO_INPUTS_SECTION_XML = """
+
"""
@@ -63,9 +47,7 @@ INPUTS_REDUNDANT_NAME = """
"""
NO_WHEN_IN_CONDITIONAL_XML = """
-
- The BWA Mapper
- bwa.py --version
+
@@ -119,9 +101,7 @@ SELECT_DUPLICATED_OPTIONS_WITH_DIFF_SELECTED = """
"""
SELECT_DEPRECATIONS = """
-
- The BWA Mapper
- bwa.py --version
+
@@ -215,12 +195,12 @@ VALIDATOR_CORRECT = """
"""
+# test tool xml for outputs linter
+
# check that linter accepts format source for collection elements as means to specify format
# and that the linter warns if format and format_source are used
OUTPUTS_COLLECTION_FORMAT_SOURCE = """
-
- The BWA Mapper
- bwa.py --version
+
@@ -232,9 +212,7 @@ OUTPUTS_COLLECTION_FORMAT_SOURCE = """
# check that linter does not complain about missing format if from_tool_provided_metadata is used
OUTPUTS_DISCOVER_TOOL_PROVIDED_METADATA = """
-
- The BWA Mapper
- bwa.py --version
+
@@ -309,7 +287,7 @@ TESTS = [
and len(x.warn_messages) == 1 and len(x.error_messages) == 1
),
(
- NO_SECTIONS_XML, inputs.lint_inputs,
+ NO_INPUTS_SECTION_XML, inputs.lint_inputs,
lambda x:
'Found no input parameters.' in x.warn_messages
and len(x.warn_messages) == 1 and len(x.error_messages) == 0