@patch('salt.utils.which', MagicMock(return_value='a2disconf'))
    def test_a2disconf_exception(self):
        mock = MagicMock(side_effect=Exception('error'))
        with patch.dict(deb_apache.__salt__, {'cmd.retcode': mock}):
            self.assertEqual(str(deb_apache.a2disconf('security')),
                'error')
Renders vertical column separator.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/deb_apache_test.py/DebApacheTestCase.test_a2disconf_exception--crossover with--dataset/ETHPy150Open sdispater/cleo/cleo/helpers/table.py/Table._render_column_separator