Skip to content

Commit

Permalink
Better fix for typo in d759965.
Browse files Browse the repository at this point in the history
Typo needs to stay for so nosetest doesn't pick up method.
  • Loading branch information
jmchilton committed Mar 8, 2015
1 parent 02cbbe1 commit 23b6335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions planemo_ext/galaxy/tools/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(self, level):
self.found_warns = False

def lint(self, module, name, lint_func, tool_xml):
name = name.replace("tsts", "tests")
self.printed_linter_info = False
self.valid_messages = []
self.info_messages = []
Expand Down
2 changes: 1 addition & 1 deletion planemo_ext/galaxy/tools/linters/tests.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# Misspelled so as not be picked up by nosetests.
def lint_tests(tool_xml, lint_ctx):
def lint_tsts(tool_xml, lint_ctx):
tests = tool_xml.findall("./tests/test")
if not tests:
lint_ctx.warn("No tests found, most tools should define test cases.")
Expand Down

0 comments on commit 23b6335

Please sign in to comment.