Commit 4f0d2e21 authored by Matthieu Barba's avatar Matthieu Barba Committed by ens-bwalts
Browse files

Add substitution example + one hash, to TestRunnable.py

parent 58f22ee7
......@@ -7,13 +7,17 @@ class TestRunnable(eHive.BaseRunnable):
def param_defaults(self):
return {
'alpha' : 37,
'beta' : 78
'beta' : 78,
'gamma' : '#alpha#',
'delta' : 'one#hash',
}
def fetch_input(self):
self.warning("Fetch the world !")
print("alpha is", self.param_required('alpha'))
print("beta is", self.param_required('beta'))
print("gamma is", self.param_required('gamma'))
print("delta is", self.param_required('delta'))
def run(self):
self.warning("Run the world !")
......
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