'Log format is C{u"{message}"}.'

def test_writeFormat(self):

    f = self.observedFile()
    f.write('Hello\n')
    self.assertEqual(len(f.events), 1)
    self.assertEqual(f.events[0]['log_format'], u'{log_io}')
