def test_basicFormatRendered(self):
        event = dict(log_format="Hello, {who}!", who="dude")
        records, output = self.logEvent(event)

        self.assertEqual(len(records), 1)
        self.assertTrue(output.endswith(u":Hello, dude!\n"),
                        repr(output))
Basic formattable event renders correctly.
dataset/ETHPy150Open twisted/twisted/twisted/logger/test/test_stdlib.py/STDLibLogObserverTests.test_basicFormatRendered