Skip to content

Commit

Permalink
Merge pull request #892 from galaxyproject/testcase_repr
Browse files Browse the repository at this point in the history
add __repr__ for TestCase
  • Loading branch information
jmchilton committed Nov 15, 2018
2 parents 811a67a + 2f6556d commit d86732d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions planemo/runnable.py
Expand Up @@ -202,6 +202,9 @@ def __init__(self, runnable, tests_directory, output_expectations, job_path, job
self.index = index
self.doc = doc

def __repr__(self):
return 'TestCase (%s) for runnable (%s) with job (%s) and expected outputs (%s) in directory (%s) with id (%s)' % (self.doc, self.runnable, self.job, self.output_expectations, self.tests_directory, self.index)

def structured_test_data(self, run_response):
"""Check a test case against outputs dictionary.
"""
Expand Down

0 comments on commit d86732d

Please sign in to comment.