def test_dig(self):
        with patch.object(salt.utils.network, 'sanitize_host',
                          return_value='A'):
            with patch.dict(network.__salt__, {'cmd.run':
                                               MagicMock(return_value='A')}):
                self.assertEqual(network.dig('host'), 'A')
A tool for slicing big render scenes
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/network_test.py/NetworkTestCase.test_dig--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/Render.render_slicer