def test_set_template(self):
        mock = MagicMock(return_value='A')
        with patch.dict(debconfmod.__salt__, {'cp.get_template': mock}):
            with patch.object(debconfmod, 'set_file', mock):
                self.assertEqual(debconfmod.set_template('path',
                                                         'template',
                                                         'context',
                                                         'defaults',
                                                         'saltenv'), 'A')
return 32x32x3 image
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/debconfmod_test.py/DebconfmodTestCase.test_set_template--crossover with--dataset/ETHPy150Open ppwwyyxx/tensorpack/tensorpack/dataflow/dataset/svhn.py/SVHNDigit.get_per_pixel_mean