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

def test_prepare_save_missing(self, mocker, lineparser):

    os_mock = mocker.patch('qutebrowser.misc.lineparser.os')
    os_mock.path.exists.return_value = False
    lineparser._prepare_save()
    os_mock.makedirs.assert_called_with(self.CONFDIR, 493)
