'Eliot messages are written to stdout.'

def test_destination_stdout(self):

    fake_stdout = self.StubStdout()
    message_formats = {'flocker:eliot:test': 'Running    %(command)s\n'}
    eliot_to_stdout(message_formats, {}, stdout=fake_stdout)
    Message.new(message_type='flocker:eliot:test', command='some    command').write()
    self.assertEqual(fake_stdout.flushed_data, 'Running    some    command\n')
