'Test if _prepare_save does what it\'s supposed to do.'

def test_prepare_save_existing(self, mocker, lineparser):

    os_mock = mocker.patch('qutebrowser.misc.lineparser.os')
    os_mock.path.exists.return_value = True
    lineparser._prepare_save()
    assert (not os_mock.makedirs.called)
