def METHOD_NAME(self, history_lines, shell):
    history_lines(['- cmd: ls', '  when: 1432613911',
                   '- cmd: rm', '  when: 1432613916'])
    assert list(shell.get_history()) == ['ls', 'rm']