This line makes absolutely no sense, as we are iterating over expected_results already. Should be result.output probably... https://github.com/westnetz/rechnung/blob/e27a8d454939b8a2be20d15f02142d8f2cf05776/rechnung/tests/test_cli.py#L147