mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gary_williams
11.05.2007 10e4c24a8945801190fb8ecd73b499fd44533a27
opendj-sdk/opends/tests/functional-tests/shared/python/common.py
@@ -64,6 +64,15 @@
  def getServerBuildId(self,string):
    return string.replace("Build ","")
  def getServerOSName(self,string):
    return string[0:string.find(' ')].strip()
  def getServerArch(self,string):
    return string[string.rfind(' ') +1:len(string)].strip()
  def getServerJavaMajorMinor(self,string):
    return string[0:string.rfind('.')]
  def getServerValueFromString(self,string):
    return string[string.find(':') +1:len(string)].strip()