Skip to content

Commit

Permalink
Formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Feb 26, 2023
1 parent 63109d2 commit 6f026ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/galaxy/tool_util/toolbox/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ def handle_tags(self, tool_id, tool_definition_source):


class NullToolTagManager(AbstractToolTagManager):

def reset_tags(self) -> None:
return None

Expand Down
7 changes: 3 additions & 4 deletions lib/tool_shed/test/base/twilltestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1988,10 +1988,9 @@ def _assert_has_installed_repository_dependency(
changeset: Optional[str] = None,
) -> None:
json = self.display_installed_repository_manage_json(installed_repository)
assert "repository_dependencies" in json, "No repository dependencies were defined in %s. manage json is %s" % (
installed_repository.name,
json,
)
if "repository_dependencies" not in json:
name = installed_repository.name
raise AssertionError(f"No repository dependencies were defined in {name}. manage json is {json}")
repository_dependencies = json["repository_dependencies"]
found = False
for folder in repository_dependencies.get("folders"):
Expand Down

0 comments on commit 6f026ff

Please sign in to comment.