'When given a line logged by Eliot, extract_eliot_from_twisted_log
returns the bytes that were logged by Eliot.'

def test_eliot_line(self):

    logged_line = '2015-12-11    11:59:48+0000    [-]    ELIOT:    {"timestamp":    1449835188.575052,    "task_uuid":    "6c579710-1b95-4604-b5a1-36b56f8ceb53",    "message_type":    "foo",    "name":    "qux",    "task_level":    [1]}\n'
    expected = '{"timestamp":    1449835188.575052,    "task_uuid":    "6c579710-1b95-4604-b5a1-36b56f8ceb53",    "message_type":    "foo",    "name":    "qux",    "task_level":    [1]}'
    self.assertThat(extract_eliot_from_twisted_log(logged_line), Equals(expected))
