

def test_show_config(self):
    '\n        Test if it return a dict of CPAN configuration values\n        '
    mock = MagicMock(return_value='')
    with patch.dict(cpan.__salt__, {
        'cmd.run': mock,
    }):
        self.assertDictEqual(cpan.show_config(), {
            
        })

dataset/ETHPy150Open saltstack/salt/tests/unit/modules/cpan_test.py CpanTestCase.test_show_config/original