Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
Source code for galaxy.selenium.toolbox.filters
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from galaxy.tool_util.toolbox.panel import ToolSection
from galaxy.util.bunch import Bunch
[docs]
def restrict_test(context: "Bunch", section: "ToolSection") -> bool:
"""
Disable the Test Section section
This tool filter will disable the Test Section section.
"""
if section.name == "Test Section":
return False
return True