'Flocker base test cases attach the eliot log as a detail separate from
the Twisted log.'

@given(base_test_cases)
def test_separate_eliot_log(self, base_test_case):

    self.useFixture(DebugTwisted(False))
    message_type = MessageType(u'foo', fields(name=str), u'test    message')
    class SomeTest(base_test_case, ):
        def test_something(self):
            from twisted.python import log
            log.msg('foo')
            message_type(name='qux').write()
    test = SomeTest('test_something')
    result = TestResult()
    test.run(result)
    self.expectThat(result, has_results(tests_run=Equals(1)))
    self.assertThat(test.getDetails(), MatchesDict({'twisted-log': match_text_content(MatchesRegex('^\\d{4}-\\d{2}-\\d{2}    \\d{2}:\\d{2}:\\d{2}[+-]\\d{4}    \\[-\\]    foo')), _SplitEliotLogs._ELIOT_LOG_DETAIL_NAME: match_text_content(Contains("        message_type:    'foo'\n        name:    'qux'\n"))}))
