parameters: (self, delta, prefix)
docstring: Changes this object to be for a TEST version of Omaha.
docstring_summary: Changes this object to be for a TEST version of Omaha.
docstring_tokens: Changes this object to be for a TEST version of Omaha .
function: def MakeTestVersion(self, delta, prefix):
      """Changes this object to be for a TEST version of Omaha."""
  
      if delta <= 0:
        raise Exception('Invalid version delta.')
  
      if prefix and prefix != 'TEST_' and prefix != 'TEST2_':
        raise Exception('Unrecognized prefix "%s"' % prefix)
  
      # If we're doing a patch, increment patch; else, increment build.
      if self.version_patch > 0:
        self.version_patch += delta
      else:
        self.version_build += delta
  
      self.filename_prefix = prefix
function_tokens: def MakeTestVersion ( self , delta , prefix ) : if delta <= 0 : raise Exception ( 'Invalid version delta.' ) if prefix and prefix != 'TEST_' and prefix != 'TEST2_' : raise Exception ( 'Unrecognized prefix "%s"' % prefix ) # If we're doing a patch, increment patch; else, increment build. if self . version_patch > 0 : self . version_patch += delta else : self . version_build += delta self . filename_prefix = prefix