'We include logs for tests, even if they time out.'

def test_logs_after_timeout(self):

    message_type = MessageType(u'foo', fields(name=str), u'test    message')
    class SomeTest(AsyncTestCase, ):
        run_tests_with = async_runner(timeout=timedelta(seconds=5e-05))
        def test_something(self):
            from twisted.python import log
            log.msg('foo')
            message_type(name='qux').write()
            return Deferred()
    test = SomeTest('test_something')
    result = TestResult()
    test.run(result)
    self.assertThat(result, has_results(tests_run=Equals(1), errors=MatchesListwise([MatchesListwise([Equals(test), MatchesAll(Contains('[-]    foo\n'), Contains("message_type:    'foo'"))])])))
