async def newfunc(*fargs, **fkeywords):
    'the mocked function'
    newkeywords = keywords.copy()
    newkeywords.update(fkeywords)
    return (await func(*args, *fargs, **newkeywords))
the mocked function
async def newfunc(*fargs, **fkeywords):
    
    newkeywords = keywords.copy()
    newkeywords.update(fkeywords)
    return (await func(*args, *fargs, **newkeywords))