2016-03-14 19:01:46 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
class log:
|
|
|
|
def info( self, *args ):
|
|
|
|
print( *args )
|
|
|
|
|
|
|
|
class dummyTask( object ):
|
|
|
|
|
|
|
|
Func = None
|
|
|
|
|
|
|
|
def delay( self, *args ):
|
|
|
|
self.Func( *args )
|
|
|
|
|
|
|
|
def __init__( self, *args ):
|
|
|
|
self.Func = args[0]
|
|
|
|
|
|
|
|
def __call__( self, *args ):
|
|
|
|
pass
|
|
|
|
|
|
|
|
class dummyConf:
|
2021-09-05 15:16:37 +00:00
|
|
|
def update( self, broker_url = None ):
|
2016-03-14 19:01:46 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
class app:
|
|
|
|
conf = dummyConf()
|
|
|
|
|
|
|
|
def task():
|
|
|
|
return dummyTask
|