Python Normalize
import unicodedata
text = unicodedata.normalize('NFC', text)
Alchemy print query
print(q.statement.compile(compile_kwargs={"literal_binds": True}))
Where to patch in pytest???
https://docs.python.org/dev/library/unittest.mock.html#where-to-patch