I'd like to run a function that is identified by a string.
toRun = 'testFunction'
def testFunction():
log.info('In the function');
run(toRun)
Where run
would be whatever command I need to use. I've tried with exec
/eval
without much luck.