I would like to assert this expectation:
contas_csv = transacoes_decorator.converter_contas_para_csv
You're using single quotes so special characters like
\n are taken literally, not expanded to their control-character counterparts.
With double quotes.
'\n' is the same as