

def test_escape_windows(self):
    "\n        Test not escaping a 'salt://' URL on windows\n        "
    url = 'salt://dir/file.ini'
    with patch('salt.utils.is_windows', MagicMock(return_value=True)):
        self.assertEqual(salt.utils.url.escape(url), url)

dataset/ETHPy150Open saltstack/salt/tests/unit/utils/url_test.py UrlTestCase.test_escape_windows/original