Commit 90c708c5 authored by Jérome Perrin's avatar Jérome Perrin

add an utility method to get the version of the Zelenium product used and...

add an utility method to get the version of the Zelenium product used and enable/disable extensions that requires a version > Zelenium-0.8



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19681 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98b8dabf
...@@ -58,6 +58,11 @@ try: ...@@ -58,6 +58,11 @@ try:
security.declareProtected( Permissions.ManagePortal, 'manage_overview' ) security.declareProtected( Permissions.ManagePortal, 'manage_overview' )
manage_overview = DTMLFile( 'explainTestTool', _dtmldir ) manage_overview = DTMLFile( 'explainTestTool', _dtmldir )
def getZeleniumVersion(self):
"""Returns the version of the zelenium product
"""
return self.Control_Panel.Products.Zelenium.version
# Override this method to force Zuite objects are recursed. # Override this method to force Zuite objects are recursed.
def _recurseListTestCases( self, result, prefix, ob ): def _recurseListTestCases( self, result, prefix, ob ):
for tcid, test_case in ob.objectItems(): for tcid, test_case in ob.objectItems():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment