Skip to content

Commit

Permalink
Return None explicitly if we got no tests
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
  • Loading branch information
mvdbeek and nsoranzo committed Aug 18, 2023
1 parent 4a016e4 commit 2ea0e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ def parse_tests(self):
def tests(self):
if self.__tests:
return [ToolTestDescription(d) for d in json.loads(self.__tests)]
return self.__tests
return None

@property
def _repository_dir(self):
Expand Down

0 comments on commit 2ea0e2e

Please sign in to comment.