All Downloads are FREE. Search and download functionalities are using the official Maven repository.

home.lib.jython.alertlib.test.TestClasses.py Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
class FakeHarvestClient:
    def __init__(self, config = None, input = None, user = "guest"):
        pass
    
    def start(self):
        #print "These tests won't run a real harvest"
        pass
        
    def getUploadOid(self):
        return "FakeIDfromMockObject"
    
    def shutdown(self):
        pass
    
class Log:
    def info(self, text):
        print "[INFO]" + text
        
    def error(self, text):
        print "[ERROR]" + text
        
    def debug(self, text):
        print "[DEBUG]" + text




© 2015 - 2024 Weber Informatics LLC | Privacy Policy