'When given an incomplete line that has the beginning of a JSON line,
extract_eliot_from_twisted_log returns None.'

def test_line_with_invalid_json(self):

    logged_line = 'prefix    ELIOT:    {"timestamp":    1449835188.575052,    "task_uuid":    "6c579710-1b95-4604-b5a1-36b56f8ceb53",    "message_type":    "foo",    "name":    "qu'
    self.assertThat(extract_eliot_from_twisted_log(logged_line), Is(None))
