'display_command() should properly indent docstr for old style task methods'

@mock_streams('stdout')
def test_multiline_docstring_indented_correctly(self):

    def mytask(arg1):
        '\n                                                This    is    a    multi    line    docstring.\n\n                                                For    reals.\n                                                '
    try:
        with patched_context(fabric.state, 'commands', {'mytask': mytask}):
            display_command('mytask')
    except SystemExit:
        pass
    eq_(sys.stdout.getvalue(), "Displaying    detailed    information    for    task    'mytask':\n\n                This    is    a    multi    line    docstring.\n                \n                For    reals.\n                \n                Arguments:    arg1\n\n")
