diff --git a/test/end2end/scripts/python/Model.py b/test/end2end/scripts/python/Model.py index ce0a99db8..337b797ea 100644 --- a/test/end2end/scripts/python/Model.py +++ b/test/end2end/scripts/python/Model.py @@ -116,6 +116,10 @@ def __init__(self, filename, expsolution, tags, otherFiles=None, self._name = overrideName if overrideName else filename.stem self._description = description + def hasSolvers(self): + return (self._description is not None) and \ + ("solvers" in self._description) + def getSolvers(self): return self._description["solvers"]