'should also be able to handle task name strings'

@with_fakes
def test_should_look_up_task_name(self):

    name = 'task1'
    commands = {name: Fake(callable=True, expect_call=True)}
    with patched_context(fabric.state, 'commands', commands):
        execute(name)
