def test_remove_io_runtime_error(self):
        mock = MagicMock(side_effect=RuntimeError('error'))
        with patch.object(_Augeas, 'save', mock):
            self.assertEqual(augeas_cfg.remove('/etc/service-name'),
                             {'count': 0, 'error': 'error', 'retval': False})

    # 'ls' function tests: 1
Returns Python objects for the given JSON string.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/augeas_cfg_test.py/AugeasCfgTestCase.test_remove_io_runtime_error--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/ext/gaema/escape.py/json_decode