I have to write a generic function to monkey-patch given function on the fly before executing the flow for creating a test framework.
test-framework.py
def